fix: скролл лицензии, отец лицом к игроку, банка-цилиндр, экран
Some checks failed
Godot CI / Import + smoke test (push) Failing after 13s
Some checks failed
Godot CI / Import + smoke test (push) Failing after 13s
АКТ 2 СКРОЛЛ: - Body RichTextLabel: fit_content=true → false, теперь label остаётся в фиксированном размере 540×220 и скроллит контент внутри. Раньше label расширялся по тексту и обрезался панелью. - scroll_following=false (не следить за концом). - mouse_filter=STOP — теперь mouse wheel над label скроллит. - font_size снижен с дефолта на 11 — больше пунктов помещается на экране, читается комфортно. - Window custom_minimum_size = 580×348 (было 560×320) — больше места под лицензию. ОТЕЦ: - FatherNPC initial transform теперь rotation_y = +π/2 (Transform3D(0,0,-1,0,1,0,1,0,0,1.7,0,0)) — лицом к игроку на запад. Игрок видит лицо отца, а не профиль. - В _walk_father_out tween поворачивает rotation_y → -π/2 (180° поворот через 0/север). Шагает на восток к двери с правильно повёрнутым корпусом. МОНИТОР: - К Desk/OldPC добавлен child Screen — BoxMesh 0.21×0.15×0.005 с эмиссивной материалом mat_screen (тёмный с голубым свечением). - Стоит на передней грани монитора, имитирует тёмный экран с легким bluish-glow CRT-вибом. ADRENALINE BANK → ЦИЛИНДР: - mesh_can: BoxMesh → CylinderMesh top=bottom=0.03 height=0.13. Теперь это реально банка по форме, а не куб. ТЕКСТУРЫ ПРЕДМЕТОВ (TextureGen новые): - adrenaline_label: синий с тёмно-синими диагональными штрихами + жёлтая молния по центру + тёмные верхняя/нижняя кромки. - lays_wrapper: жёлтый с красной волнистой лентой посередине (синус) + коричневая чипса-клякса внизу + тёмные уголки. - sock_fabric: тёмно-синий с горизонтальными светлыми полосками каждые 6 пикселей + тёмный шов. - monitor_screen: тёмное стекло с edge-glow + scanlines каждые 2 строки (CRT-вайб). - Применены в act1.gd._apply_textures на AdrenalineCan, LaysWrapper, Sock1/Sock2. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f8040fb399
commit
579df43289
4 changed files with 166 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=90 format=3]
|
||||
[gd_scene load_steps=92 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/prologue/act1.gd" id="1_act1"]
|
||||
[ext_resource type="Script" path="res://scripts/interactables/interactable.gd" id="2_int"]
|
||||
|
|
@ -121,8 +121,21 @@ size = Vector3(0.15, 0.03, 0.08)
|
|||
[sub_resource type="BoxMesh" id="mesh_lays"]
|
||||
size = Vector3(0.15, 0.01, 0.1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_can"]
|
||||
size = Vector3(0.06, 0.13, 0.06)
|
||||
[sub_resource type="CylinderMesh" id="mesh_can"]
|
||||
top_radius = 0.03
|
||||
bottom_radius = 0.03
|
||||
height = 0.13
|
||||
radial_segments = 16
|
||||
rings = 2
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_screen"]
|
||||
size = Vector3(0.21, 0.15, 0.005)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="mat_screen"]
|
||||
albedo_color = Color(0.04, 0.05, 0.08, 1)
|
||||
emission_enabled = true
|
||||
emission = Color(0.18, 0.24, 0.4, 1)
|
||||
emission_energy_multiplier = 0.5
|
||||
|
||||
[sub_resource type="BoxMesh" id="mesh_plant"]
|
||||
size = Vector3(0.09, 0.13, 0.09)
|
||||
|
|
@ -510,6 +523,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.55, -0.1)
|
|||
mesh = SubResource("mesh_old_pc")
|
||||
material_override = SubResource("mat_old_pc")
|
||||
|
||||
[node name="Screen" type="MeshInstance3D" parent="Desk/OldPC"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.153)
|
||||
mesh = SubResource("mesh_screen")
|
||||
material_override = SubResource("mat_screen")
|
||||
|
||||
[node name="Keyboard" type="MeshInstance3D" parent="Desk"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.37, 0.18)
|
||||
mesh = SubResource("mesh_keyboard")
|
||||
|
|
@ -600,7 +618,7 @@ material_override = SubResource("mat_note")
|
|||
shape = SubResource("shape_note")
|
||||
|
||||
[node name="FatherNPC" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.7, 0, 0)
|
||||
transform = Transform3D(0, 0, -1, 0, 1, 0, 1, 0, 0, 1.7, 0, 0)
|
||||
|
||||
[node name="Head" type="MeshInstance3D" parent="FatherNPC"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.55, 0)
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Window" type="PanelContainer" parent="Center"]
|
||||
custom_minimum_size = Vector2(560, 320)
|
||||
custom_minimum_size = Vector2(580, 348)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("style_window")
|
||||
|
||||
|
|
@ -137,12 +137,18 @@ horizontal_alignment = 1
|
|||
modulate = Color(0.94, 0.71, 0.1, 1)
|
||||
|
||||
[node name="Body" type="RichTextLabel" parent="Center/Window/V"]
|
||||
custom_minimum_size = Vector2(530, 180)
|
||||
custom_minimum_size = Vector2(540, 220)
|
||||
layout_mode = 2
|
||||
bbcode_enabled = true
|
||||
fit_content = true
|
||||
fit_content = false
|
||||
scroll_active = true
|
||||
scroll_following = false
|
||||
mouse_filter = 0
|
||||
text = "Загрузка…"
|
||||
theme_override_font_sizes/normal_font_size = 11
|
||||
theme_override_font_sizes/bold_font_size = 11
|
||||
theme_override_font_sizes/italics_font_size = 11
|
||||
theme_override_font_sizes/mono_font_size = 11
|
||||
|
||||
[node name="Input" type="LineEdit" parent="Center/Window/V"]
|
||||
layout_mode = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue