Debug menu items spawn buttons

This commit is contained in:
Marco 2025-05-20 17:46:35 +02:00
commit 4c58436a74
9 changed files with 216 additions and 33 deletions

View file

@ -103,7 +103,7 @@ _gameOverPanel = NodePath("GameOver")
_fairyTerminatedPanel = NodePath("FairyTerminated")
_hudInfoPanel = NodePath("HudInfo")
NotificationsContainer = NodePath("NotificationsContainer")
WeaponContainer = NodePath("VBoxContainer/WeaponContainer")
WeaponContainer = NodePath("WeaponContainer/WeaponContainer")
PauseMenuContainer = NodePath("PauseMenuContainer")
PauseMenuScene = ExtResource("3_hxmxt")
DebugMenuTemplate = ExtResource("4_gd1k6")
@ -255,28 +255,37 @@ size_flags_vertical = 3
theme_override_constants/separation = 0
[node name="NotificationsContainer" type="VBoxContainer" parent="."]
offset_left = 161.0
offset_top = 123.0
offset_right = 317.0
offset_bottom = 157.0
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -156.0
offset_top = -34.0
grow_horizontal = 0
grow_vertical = 0
size_flags_vertical = 3
theme_override_constants/separation = 0
alignment = 2
[node name="VBoxContainer" type="VBoxContainer" parent="."]
offset_left = 4.0
offset_top = 118.0
offset_right = 38.0
offset_bottom = 155.0
[node name="WeaponContainer" type="VBoxContainer" parent="."]
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 5.0
offset_top = -42.0
offset_right = 39.0
offset_bottom = -5.0
grow_vertical = 0
theme_override_constants/separation = 0
metadata/_edit_group_ = true
[node name="Label" type="Label" parent="VBoxContainer"]
[node name="Label" type="Label" parent="WeaponContainer"]
layout_mode = 2
text = "Weapon"
label_settings = ExtResource("2_x7kl7")
[node name="WeaponContainer" type="PanelContainer" parent="VBoxContainer"]
[node name="WeaponContainer" type="PanelContainer" parent="WeaponContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("9_sx5r0")
@ -444,15 +453,12 @@ stretch_mode = 3
[node name="FPS" type="Label" parent="."]
z_index = 20
z_as_relative = false
anchors_preset = 3
anchors_preset = 1
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -40.0
offset_top = -23.0
offset_bottom = 23.0
grow_horizontal = 0
grow_vertical = 0
text = "1234"
label_settings = ExtResource("2_x7kl7")
script = ExtResource("15_x61tu")