- Move elevator panel logic out of HUD; HUD now listens for signals to update floor, saved, people, and score labels - Add scaling rescue threshold that grows as you descend, with bonus points for exceeding it - Add per-floor timer that triggers a losing when expired - Add show_loss state on the screen for too-few-people and timeout failures
32 lines
1 KiB
Text
32 lines
1 KiB
Text
[gd_scene format=3 uid="uid://cbvi51vvpt7mu"]
|
|
|
|
[ext_resource type="Script" uid="uid://fpaw3u5yjtbk" path="res://scenes/hud.gd" id="1_64ctp"]
|
|
|
|
[node name="HUD" type="MarginContainer" unique_id=769131693]
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
theme_override_constants/margin_left = 20
|
|
theme_override_constants/margin_top = 20
|
|
script = ExtResource("1_64ctp")
|
|
|
|
[node name="StatsColumn" type="VBoxContainer" parent="." unique_id=1476756270]
|
|
layout_mode = 2
|
|
|
|
[node name="PeopleLabel" type="Label" parent="StatsColumn" unique_id=1174457387]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "PEOPLE: 0"
|
|
|
|
[node name="SavedLabel" type="Label" parent="StatsColumn" unique_id=969002022]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "SAVED: 0"
|
|
|
|
[node name="FloorLabel" type="Label" parent="StatsColumn" unique_id=67147411]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "FLOOR: 0"
|
|
|
|
[node name="ScoreLabel" type="Label" parent="StatsColumn" unique_id=1595653166]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|