diff --git a/README.md b/README.md index 75a8bac..3a286c8 100644 --- a/README.md +++ b/README.md @@ -456,6 +456,10 @@ ssh root@192.168.10.110 'journalctl -u my-world -f' # лог: «+ игрок - **Выкладка сервера:** `ghost.gd` лежит и на сервере, где модели нет, поэтому модель грузится `load()` внутри `setup()`, а не `preload`. - Изменить позы: правь функции анимаций в скрипте, перезапусти его в Blender, заново экспортируй GLB и импортируй в Godot. +## Название и заставка + +Игра называется **Aman's World** (`config/name`). Заставка загрузки — `branding/splash.png` (1280×720, генерируется скриптом на Pillow: дождь, силуэты домов, натриевое свечение; при смене надписи/стиля перерисуй и положи на то же место), иконка и фавиконка — `branding/icon.svg`. Всё задаётся в `project.godot → [application]` (`boot_splash/image`, `boot_splash/bg_color`, `config/icon`); веб-экспорт берёт из них `index.png`, `index.icon.png` и ``. **Папка пользовательских данных осталась прежней** (`config/use_custom_user_dir`, `custom_user_dir_name="world2"`): профиль (`profile.cfg`) и рекорд (`race_best.cfg`) не должны потеряться при переименовании проекта. Серверный проект (`deploy/server/project.godot`) — отдельный, его имя не менялось. + ## Журнал изменений (окт 2026) Сделано одной серией работ (хронологически): diff --git a/branding/icon.svg b/branding/icon.svg new file mode 100644 index 0000000..cb157cb --- /dev/null +++ b/branding/icon.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><rect width="124" height="124" x="2" y="2" fill="#0b0b0e" stroke="#c0281a" stroke-width="4" rx="14"/><path d="M26 98 L64 24 L102 98 M42 72 H86" fill="none" stroke="#ff8a3d" stroke-width="10" stroke-linecap="square" stroke-linejoin="miter"/><rect x="20" y="106" width="88" height="4" fill="#c0281a"/></svg> diff --git a/branding/icon.svg.import b/branding/icon.svg.import new file mode 100644 index 0000000..ee944bd --- /dev/null +++ b/branding/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dutx7rbsx2tuy" +path="res://.godot/imported/icon.svg-3d9dbe7d709cf7a7c4314775087c0608.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://branding/icon.svg" +dest_files=["res://.godot/imported/icon.svg-3d9dbe7d709cf7a7c4314775087c0608.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/branding/splash.png b/branding/splash.png new file mode 100644 index 0000000..22b1fca Binary files /dev/null and b/branding/splash.png differ diff --git a/branding/splash.png.import b/branding/splash.png.import new file mode 100644 index 0000000..c9c04b4 --- /dev/null +++ b/branding/splash.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bc3r54dm4n65j" +path="res://.godot/imported/splash.png-0d6de845ee625fbaec4bfb9f6c0e9e33.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://branding/splash.png" +dest_files=["res://.godot/imported/splash.png-0d6de845ee625fbaec4bfb9f6c0e9e33.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/project.godot b/project.godot index f8a5baf..fc0504c 100644 --- a/project.godot +++ b/project.godot @@ -10,10 +10,15 @@ config_version=5 [application] -config/name="world2" +config/name="Aman's World" run/main_scene="res://maps/hub/hub.tscn" config/features=PackedStringArray("4.7", "GL Compatibility") -config/icon="res://icon.svg" +config/use_custom_user_dir=true +config/custom_user_dir_name="world2" +config/icon="res://branding/icon.svg" +boot_splash/bg_color=Color(0.031, 0.031, 0.039, 1) +boot_splash/image="res://branding/splash.png" +boot_splash/fullsize=true [autoload]