This commit is contained in:
syui 2025-03-04 21:55:11 +09:00
parent c818cecfab
commit c893ee5f3e
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
6 changed files with 67 additions and 3 deletions

View File

@ -23,7 +23,9 @@
* [city sample](city/README.md)
* [惑星形式のmapを作る](city/01_remove.md)
* [橋を作る](city/02_bridge.md)
* [建造物を作る](city/03_house.md)
* [家を作る](city/03_house.md)
* [BGMを作る](city/04_bgm.md)
* [ブラウザを作る](city/05_browser.md)
* [gameplay camera](camera/README.md)
* [もっと近づける](camera/01_close.md)
* [json blueprint utilities](json/README.md)
@ -67,6 +69,7 @@
* [playerが地面に埋まってしまう](issue/city/city_04.md)
* [他のmapとの統合](issue/city/city_05.md)
* [BGMを変更する](issue/city/city_06.md)
* [表示されなくなったサイト](issue/city/city_07.md)
* [blender](issue/blender/README.md)
* [衣装の背後に黒いチラつきが発生する](issue/blender/blender_01.md)
* [ueで読み込むと一部のmaterialが正しく表示されない](issue/blender/blender_02.md)

View File

@ -1,4 +1,4 @@
# 建造物を作る
# を作る
1. [twinmotion](https://www.twinmotion.com/)をinstallして、建造物を作ります。template(テンプレート)を編集しても構いません。
2. できたらexportしてueの$projectを選択します。`$project/${name}_Assets`が作成されます。`datasmith`の置き場所は変更しても構いません。

27
book/city/05_browser.md Normal file
View File

@ -0,0 +1,27 @@
# ブラウザを作る
1. pluginで`web browser`を有効にします。
2. 下記のような緑背景のmaterialを作成します。
> [https://blueprintue.com/blueprint/-49_059w/](https://blueprintue.com/blueprint/-49_059w/)
3. web browserを使ったwidgetを作成します。
4. BP_browserに追加したwidget componentで呼び出します。collisionでcontrolします。
> [https://blueprintue.com/blueprint/uubw_6ay/](https://blueprintue.com/blueprint/uubw_6ay/)
4. displayにくっつければ見栄えも良くなります。
> https://www.unrealengine.com/marketplace/ja/product/twinmotion-high-tech-pack-1
![](/img/0014.png)
画像はNASAの[solar system](https://eyes.nasa.gov/apps/solar-system/#/home)にアクセスしたときのもの。
- https://eyes.nasa.gov/apps/asteroids/#/planets/earth
## issue: 表示されなくなったサイト
[こちら](/issue/city/city_07.html)を見てください。
## webでUIやシステムを作る
これを利用すると、webで動くUIやシステムを作成し、ゲームに取り入れることができます。
しかし、運用は大変だと思います。

View File

@ -33,10 +33,12 @@
|name|body|
|---|---|
|[GASP-ALS](https://github.com/PolygonHive/GASP-ALS)|GASPの改造版|
|[twinmotion-high-tech-pack-1](https://www.unrealengine.com/marketplace/ja/product/twinmotion-high-tech-pack-1)|家電製品|
|[automotive bridge scene](https://www.fab.com/ja/listings/a472df9d-9179-4743-8d41-335f9ef55546)|道路や橋|
|[animal variety pack](https://www.fab.com/ja/listings/2dd7964c-a601-4264-a53d-465dcae1644c)|有名な動物モデル|
|[quadruped fantasy creatures](https://www.fab.com/ja/listings/52d686b6-1180-4f26-901f-ce3c69a14767)|有名な幻獣モデル|
|[ueplugin-accessvariablebyname](https://github.com/colory-games/UEPlugin-AccessVariableByName)|名前を取得するplugin|
|[GASP-ALS](https://github.com/PolygonHive/GASP-ALS)|GASPの改造版|
## 有料のasset

BIN
book/img/0014.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -0,0 +1,32 @@
# 表示されなくなったサイト
昔は表示され操作もできたいくつかのサイトがweb browser pluginで操作もできず、待機中になる現象が発生しています。
- https://web.syu.is/profile/ai.syu.is
- https://eyes.nasa.gov/apps/solar-system
一つは自分が管理しているサイトですが、cloudflareを使用しています。おそらく、cloudflareのセキュリティが動作しているのだと思います。web browserのbrowser versionが低いことも要因の一つかもしれません。
```json
{
"time": "2024-10-20T08:00:00.00Z",
"id": "1",
"remote_ip": "ipv6",
"host": "web.syu.is",
"method": "GET",
"uri": "/",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ++UE5+Release-5.4-CL Chrome/90.0.4430.212 Safari/537.36",
"status": 200,
"error": "",
"latency": 0,
"latency_human": "1.0ms",
"bytes_in": 0,
"bytes_out": 0
}
```
## 今のところうまく表示されているサイト
なぜか`solar-system`と同じものを使用している`asteroids`は表示されます。そのうち制限されるかもしれません。
- https://eyes.nasa.gov/apps/asteroids/#/planets/earth