Some checks failed
Godot CI / Import + smoke test (push) Failing after 14s
БАГ-ФИКСЫ: - Трясёт у двери: Interactable теперь extends Area3D (не StaticBody3D). RayCast3D детектит Area3D через collide_with_areas=true. Игрок физически проходит через интерактивы (gift box, флешка, записка, дверь) — не толкается в узких местах. Бампается только в стены/мебель/пол. - Все 6 интерактивов в act1_room.tscn и act1_kitchen.tscn переведены на type="Area3D". UI: - Crosshair в центре экрана: 8×8 точка с тёмной рамкой и белой центральной 2×2 точкой. set_crosshair_visible() для 2D-сцен (Акт 2 прячет его). - SubtitlePanel расширен: 16-624 × 240-354 (было 24-616 × 270-350). Text-лейбл заменён на RichTextLabel с fit_content + bbcode. Длинные реплики отца теперь нормально влезают. - NoteOverlay аналогично RichTextLabel. - ControlsHint перенесён сверху (под HUD-датой), 14px меньше. ТЕКСТУРЫ через FastNoiseLite + 128×128 разрешалка: - wallpaper: шумная бежевая база + растительный крест-цветок каждые 22px, шахматное смещение, тонкая горизонтальная полоса каждые 32px (стык обоев). - linoleum: настоящая паркетная доска 16×64px со смещением между рядами, тонкие швы, волокно через шум. - ceiling: побелка с пятном протёчки в углу (canon-деталь). - wall_carpet: бордовая база + двойная золотая рамка + ромб- медальон с золотыми углами + декоративные уголки. - blanket: 30 звёздочек (белые/жёлтые) разного размера на шумной тёмно-синей базе. - poster_csgo: диагональная штриховка + силуэт AWP по центру + пиксельный «CS:GO» текст внизу. - poster_morgen: круг с лицом, глаза-щели, рот + пиксельный «MS». - door: вертикальное волокно Perlin + 3 горизонтальных шва (панели) + 4 сучка разного размера. - desk_white: чистый белый + жёлтый Steam-стикер в углу + царапина. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
173 lines
4.2 KiB
Text
173 lines
4.2 KiB
Text
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/ui/dialog_manager.gd" id="1_dlg"]
|
|
|
|
[node name="DialogManager" type="CanvasLayer"]
|
|
layer = 10
|
|
script = ExtResource("1_dlg")
|
|
|
|
[node name="DateTimeLabel" type="Label" parent="."]
|
|
offset_left = 8.0
|
|
offset_top = 6.0
|
|
offset_right = 280.0
|
|
offset_bottom = 22.0
|
|
text = ""
|
|
modulate = Color(0.92, 0.92, 0.92, 1)
|
|
|
|
[node name="ObjectiveLabel" type="Label" parent="."]
|
|
offset_left = 340.0
|
|
offset_top = 6.0
|
|
offset_right = 632.0
|
|
offset_bottom = 22.0
|
|
text = ""
|
|
horizontal_alignment = 2
|
|
modulate = Color(0.94, 0.71, 0.1, 1)
|
|
|
|
[node name="MoneyLabel" type="Label" parent="."]
|
|
offset_left = 340.0
|
|
offset_top = 24.0
|
|
offset_right = 632.0
|
|
offset_bottom = 40.0
|
|
text = ""
|
|
horizontal_alignment = 2
|
|
modulate = Color(0.75, 0.75, 0.75, 1)
|
|
|
|
[node name="WeatherLabel" type="Label" parent="."]
|
|
offset_left = 340.0
|
|
offset_top = 215.0
|
|
offset_right = 632.0
|
|
offset_bottom = 231.0
|
|
text = ""
|
|
horizontal_alignment = 2
|
|
modulate = Color(0.7, 0.75, 0.85, 1)
|
|
|
|
[node name="StatsLabel" type="Label" parent="."]
|
|
offset_left = 8.0
|
|
offset_top = 215.0
|
|
offset_right = 300.0
|
|
offset_bottom = 231.0
|
|
text = ""
|
|
modulate = Color(0.94, 0.71, 0.1, 1)
|
|
|
|
[node name="ControlsHint" type="Label" parent="."]
|
|
offset_left = 0.0
|
|
offset_top = 28.0
|
|
offset_right = 640.0
|
|
offset_bottom = 42.0
|
|
text = "WASD ходить · мышь смотреть · ЛКМ взаимодействие · ESC мышь · Q выход"
|
|
horizontal_alignment = 1
|
|
modulate = Color(0.45, 0.45, 0.45, 0.8)
|
|
|
|
[node name="Crosshair" type="Control" parent="."]
|
|
offset_left = 316.0
|
|
offset_top = 176.0
|
|
offset_right = 324.0
|
|
offset_bottom = 184.0
|
|
|
|
[node name="CenterDot" type="ColorRect" parent="Crosshair"]
|
|
offset_left = 3.0
|
|
offset_top = 3.0
|
|
offset_right = 5.0
|
|
offset_bottom = 5.0
|
|
color = Color(1, 1, 1, 0.85)
|
|
|
|
[node name="OuterRing" type="ColorRect" parent="Crosshair"]
|
|
offset_left = 0.0
|
|
offset_top = 0.0
|
|
offset_right = 8.0
|
|
offset_bottom = 8.0
|
|
color = Color(0, 0, 0, 0.4)
|
|
mouse_filter = 2
|
|
|
|
[node name="InnerHole" type="ColorRect" parent="Crosshair"]
|
|
offset_left = 1.0
|
|
offset_top = 1.0
|
|
offset_right = 7.0
|
|
offset_bottom = 7.0
|
|
color = Color(0, 0, 0, 0)
|
|
mouse_filter = 2
|
|
|
|
[node name="PromptLabel" type="Label" parent="."]
|
|
offset_left = 0.0
|
|
offset_top = 192.0
|
|
offset_right = 640.0
|
|
offset_bottom = 212.0
|
|
text = ""
|
|
horizontal_alignment = 1
|
|
modulate = Color(0.94, 0.71, 0.1, 1)
|
|
|
|
[node name="SubtitlePanel" type="PanelContainer" parent="."]
|
|
offset_left = 16.0
|
|
offset_top = 240.0
|
|
offset_right = 624.0
|
|
offset_bottom = 354.0
|
|
|
|
[node name="V" type="VBoxContainer" parent="SubtitlePanel"]
|
|
layout_mode = 2
|
|
|
|
[node name="Who" type="Label" parent="SubtitlePanel/V"]
|
|
layout_mode = 2
|
|
text = "[Я]"
|
|
modulate = Color(0.94, 0.71, 0.1, 1)
|
|
|
|
[node name="Text" type="RichTextLabel" parent="SubtitlePanel/V"]
|
|
custom_minimum_size = Vector2(590, 60)
|
|
layout_mode = 2
|
|
bbcode_enabled = true
|
|
text = ""
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 3
|
|
|
|
[node name="Hint" type="Label" parent="SubtitlePanel/V"]
|
|
layout_mode = 2
|
|
text = "ЛКМ или ПРОБЕЛ — дальше"
|
|
horizontal_alignment = 2
|
|
modulate = Color(0.5, 0.5, 0.5, 1)
|
|
|
|
[node name="NoteOverlay" type="Control" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = 640.0
|
|
offset_bottom = 360.0
|
|
mouse_filter = 0
|
|
|
|
[node name="DarkBG" type="ColorRect" parent="NoteOverlay"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = 640.0
|
|
offset_bottom = 360.0
|
|
color = Color(0, 0, 0, 0.78)
|
|
|
|
[node name="Center" type="CenterContainer" parent="NoteOverlay"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = 640.0
|
|
offset_bottom = 360.0
|
|
|
|
[node name="P" type="PanelContainer" parent="NoteOverlay/Center"]
|
|
custom_minimum_size = Vector2(440, 200)
|
|
layout_mode = 2
|
|
|
|
[node name="V2" type="VBoxContainer" parent="NoteOverlay/Center/P"]
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="NoteOverlay/Center/P/V2"]
|
|
layout_mode = 2
|
|
text = "Записка"
|
|
horizontal_alignment = 1
|
|
modulate = Color(0.94, 0.71, 0.1, 1)
|
|
|
|
[node name="Text" type="RichTextLabel" parent="NoteOverlay/Center/P/V2"]
|
|
custom_minimum_size = Vector2(420, 100)
|
|
layout_mode = 2
|
|
bbcode_enabled = true
|
|
text = ""
|
|
fit_content = true
|
|
autowrap_mode = 3
|
|
|
|
[node name="Hint" type="Label" parent="NoteOverlay/Center/P/V2"]
|
|
layout_mode = 2
|
|
text = "ЛКМ или ПРОБЕЛ — закрыть"
|
|
horizontal_alignment = 1
|
|
modulate = Color(0.5, 0.5, 0.5, 1)
|