Reparented objects for pause

This commit is contained in:
Marco 2025-02-24 10:37:27 +01:00
commit ac923941c3
5 changed files with 234 additions and 222 deletions

View file

@ -63,6 +63,7 @@ bg_color = Color(0.338981, 0.507716, 0.996646, 1)
anti_aliasing = false
[node name="HUD" type="CanvasLayer" node_paths=PackedStringArray("_healthLabel", "_healthBar", "_shieldLabel", "_shieldBar", "_itemsContainer", "_gameOverPanel", "PauseMenuContainer", "DebugMenuHolder")]
process_mode = 3
script = ExtResource("1_m0hb0")
_healthLabel = NodePath("VBoxContainer/HealthBarContainer/HealthLabel")
_healthBar = NodePath("VBoxContainer/HealthBarContainer/HealthBar")

View file

@ -6,6 +6,7 @@
[ext_resource type="Resource" uid="uid://d1lc8lhq1b05p" path="res://Resources/Debug/DebugLevels.tres" id="3_cvgqx"]
[node name="DebugMenu" type="VBoxContainer" node_paths=PackedStringArray("ButtonsContainer")]
process_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0

View file

@ -8,6 +8,7 @@
font = ExtResource("2_kog7o")
[node name="PauseMenu" type="VBoxContainer" node_paths=PackedStringArray("ResumeButton", "QuitButton", "OptionsButton", "DebugButton")]
process_mode = 3
script = ExtResource("1_ntuto")
MainMenuScene = "res://Scenes/MainMenu.tscn"
ResumeButton = NodePath("ResumeButton")