[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="InteractPrompt" type="Label" parent="HUD"] visible = false layout_mode = 0 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -320.0 offset_top = -120.0 offset_right = 320.0 offset_bottom = -72.0 theme_override_font_sizes/font_size = 20 horizontal_alignment = 1 vertical_alignment = 1 text = "[E]" [node name="AttackFlash" type="ColorRect" parent="HUD"] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 color = Color(1, 1, 0.7, 0.12) [node name="HpHearts" type="HBoxContainer" parent="HUD"] layout_mode = 0 offset_left = 12.0 offset_top = 8.0 offset_right = 220.0 offset_bottom = 40.0 theme_override_constants/separation = 4 [node name="StatusLabel" type="Label" parent="HUD"] layout_mode = 0 offset_left = 12.0 offset_top = 40.0 offset_right = 420.0 offset_bottom = 64.0 theme_override_font_sizes/font_size = 14 text = "" [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="DialogLayer" type="Control" parent="."] visible = false process_mode = 3 layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 0 [node name="Dim" type="ColorRect" parent="DialogLayer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 0 color = Color(0.02, 0.02, 0.05, 0.0) [node name="DialogPanel" type="PanelContainer" parent="DialogLayer"] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 48.0 offset_top = -210.0 offset_right = -48.0 offset_bottom = -28.0 grow_horizontal = 2 grow_vertical = 0 [node name="Margin" type="MarginContainer" parent="DialogLayer/DialogPanel"] layout_mode = 2 theme_override_constants/margin_left = 22 theme_override_constants/margin_top = 16 theme_override_constants/margin_right = 22 theme_override_constants/margin_bottom = 14 [node name="VBox" type="VBoxContainer" parent="DialogLayer/DialogPanel/Margin"] layout_mode = 2 theme_override_constants/separation = 8 [node name="SpeakerLabel" type="Label" parent="DialogLayer/DialogPanel/Margin/VBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.95, 0.82, 0.45, 1) theme_override_font_sizes/font_size = 18 text = "Sprecher" [node name="DialogLabel" type="Label" parent="DialogLayer/DialogPanel/Margin/VBox"] custom_minimum_size = Vector2(0, 88) layout_mode = 2 theme_override_font_sizes/font_size = 20 autowrap_mode = 3 text = "..." [node name="Footer" type="HBoxContainer" parent="DialogLayer/DialogPanel/Margin/VBox"] layout_mode = 2 alignment = 2 [node name="ContinueHint" type="Label" parent="DialogLayer/DialogPanel/Margin/VBox/Footer"] layout_mode = 2 modulate = Color(1, 1, 1, 0.55) theme_override_font_sizes/font_size = 14 text = "[Enter] Weiter" [node name="AdvanceButton" type="Button" parent="DialogLayer/DialogPanel/Margin/VBox/Footer"] custom_minimum_size = Vector2(120, 0) layout_mode = 2 text = "Weiter" [node name="BarkPanel" type="PanelContainer" parent="."] visible = false anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -360.0 offset_top = 72.0 offset_right = 360.0 offset_bottom = 132.0 grow_horizontal = 2 [node name="BarkLabel" type="Label" parent="BarkPanel"] layout_mode = 2 horizontal_alignment = 1 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="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, 140) layout_mode = 2 fixed_icon_size = Vector2i(40, 40) icon_mode = 0 same_column_width = true [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="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"