Explosion_der_Spiele/scenes/ui/ui_root.tscn
copilot 1d9e0a6532 Wire quest flow and combat across all levels.
Connect bear-save, massage, farm paywall, cheese catapults, Dressler hijack, final boss phases, fat-stim UI, and scene fixes so the satire path plays through.
2026-09-14 19:08:00 +02:00

219 lines
6 KiB
Text

[gd_scene load_steps=2 format=3]
[ext_resource type="Script" path="res://scripts/ui/ui_root.gd" id="1"]
[node name="UIRoot" type="CanvasLayer"]
process_mode = 3
layer = 100
script = ExtResource("1")
[node name="HUD" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="HpLabel" type="Label" parent="HUD"]
layout_mode = 0
offset_left = 16.0
offset_top = 12.0
offset_right = 200.0
offset_bottom = 40.0
text = "HP 5/5"
[node name="ToastLabel" type="Label" parent="."]
visible = false
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -280.0
offset_top = 48.0
offset_right = 280.0
offset_bottom = 88.0
grow_horizontal = 2
horizontal_alignment = 1
text = "Achievement"
[node name="DialogPanel" type="PanelContainer" parent="."]
visible = false
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -420.0
offset_top = -140.0
offset_right = 420.0
offset_bottom = -24.0
grow_horizontal = 2
grow_vertical = 0
[node name="Margin" type="MarginContainer" parent="DialogPanel"]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 12
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 12
[node name="DialogLabel" type="Label" parent="DialogPanel/Margin"]
layout_mode = 2
autowrap_mode = 3
text = "..."
[node name="BurgerOverlay" type="ColorRect" parent="."]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.05, 0.02, 0.02, 0.85)
[node name="BurgerLabel" type="Label" parent="BurgerOverlay"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -320.0
offset_top = -40.0
offset_right = 320.0
offset_bottom = 40.0
grow_horizontal = 2
grow_vertical = 2
horizontal_alignment = 1
vertical_alignment = 1
text = "Burger!"
[node name="PausePanel" type="PanelContainer" parent="."]
process_mode = 3
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -280.0
offset_top = -300.0
offset_right = 280.0
offset_bottom = 300.0
grow_horizontal = 2
grow_vertical = 2
[node name="Margin" type="MarginContainer" parent="PausePanel"]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 12
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 12
[node name="VBox" type="VBoxContainer" parent="PausePanel/Margin"]
layout_mode = 2
theme_override_constants/separation = 6
[node name="TitleLabel" type="Label" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Einstellungen"
[node name="ResumeButton" type="Button" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Zurück"
[node name="PointsLabel" type="Label" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Dresslerpunkte: 0"
[node name="ShopTitle" type="Label" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Shop"
[node name="BuyPointButton" type="Button" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "1€"
[node name="BuySunglassesButton" type="Button" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Sunglasses"
[node name="BuyTicketButton" type="Button" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Ticket"
[node name="BuyMilkButton" type="Button" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Milk"
[node name="BuyTiramisuButton" type="Button" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Tiramisu"
[node name="SfxLabel" type="Label" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "SFX"
[node name="SfxSlider" type="HSlider" parent="PausePanel/Margin/VBox"]
layout_mode = 2
max_value = 1.0
step = 0.05
value = 1.0
[node name="MusicLabel" type="Label" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Music locked"
[node name="MusicSlider" type="HSlider" parent="PausePanel/Margin/VBox"]
layout_mode = 2
editable = false
max_value = 1.0
value = 1.0
[node name="LangLabel" type="Label" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Language"
[node name="LangOption" type="OptionButton" parent="PausePanel/Margin/VBox"]
layout_mode = 2
[node name="InventoryLabel" type="Label" parent="PausePanel/Margin/VBox"]
layout_mode = 2
text = "Inventar"
[node name="InventoryList" type="ItemList" parent="PausePanel/Margin/VBox"]
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
[connection signal="pressed" from="PausePanel/Margin/VBox/ResumeButton" to="." method="_on_resume_pressed"]
[connection signal="pressed" from="PausePanel/Margin/VBox/BuyPointButton" to="." method="_on_buy_point"]
[connection signal="pressed" from="PausePanel/Margin/VBox/BuySunglassesButton" to="." method="_on_buy_sunglasses"]
[connection signal="pressed" from="PausePanel/Margin/VBox/BuyTicketButton" to="." method="_on_buy_ticket"]
[connection signal="pressed" from="PausePanel/Margin/VBox/BuyMilkButton" to="." method="_on_buy_milk"]
[connection signal="pressed" from="PausePanel/Margin/VBox/BuyTiramisuButton" to="." method="_on_buy_tiramisu"]
[connection signal="value_changed" from="PausePanel/Margin/VBox/SfxSlider" to="." method="_on_sfx_changed"]
[connection signal="value_changed" from="PausePanel/Margin/VBox/MusicSlider" to="." method="_on_music_changed"]
[connection signal="item_selected" from="PausePanel/Margin/VBox/LangOption" to="." method="_on_lang_selected"]
[connection signal="item_activated" from="PausePanel/Margin/VBox/InventoryList" to="." method="_on_inventory_activated"]
[node name="FatStim" type="ColorRect" parent="."]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color(0.05, 0.05, 0.08, 0.55)
[node name="FatLabel" type="Label" parent="FatStim"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -280.0
offset_top = -40.0
offset_right = 280.0
offset_bottom = 40.0
horizontal_alignment = 1
vertical_alignment = 1
text = "SUBWAY SURF / SATISFYING SHORTS"