Debug system

This commit is contained in:
2025-05-05 22:50:35 -05:00
parent 631365aa38
commit 2b3cfc0eb7
13 changed files with 180 additions and 139 deletions

View File

@@ -1,9 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://w1q5eoiejmy3"]
[ext_resource type="Script" uid="uid://cak4lch21nq30" path="res://scripts/Scenes/MainMenuScene.gd" id="1_yqorp"]
[gd_scene format=3 uid="uid://w1q5eoiejmy3"]
[node name="MainMenu" type="Node3D"]
script = ExtResource("1_yqorp")
[node name="UI" type="Control" parent="."]
layout_mode = 3
@@ -13,46 +10,20 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
[node name="Label" type="Label" parent="UI"]
layout_mode = 1
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 171.0
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -68.0
offset_top = -11.5
offset_right = 68.0
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
text = "Thyme and Magic
[node name="HBoxContainer" type="HBoxContainer" parent="UI/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
[node name="Overworld" type="Button" parent="UI/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Prototype Overworld"
[node name="MapDropdown" type="OptionButton" parent="UI/VBoxContainer/HBoxContainer"]
layout_mode = 2
[node name="Quests" type="Button" parent="UI/VBoxContainer"]
layout_mode = 2
text = "Prototype Quests
"
[node name="Cutscene" type="Button" parent="UI/VBoxContainer"]
layout_mode = 2
text = "Prototype Cutscene"
[node name="Cooking" type="Button" parent="UI/VBoxContainer"]
layout_mode = 2
text = "Prototype Cooking
"
[node name="Battle" type="Button" parent="UI/VBoxContainer"]
layout_mode = 2
text = "Prototype Battle
"
[connection signal="pressed" from="UI/VBoxContainer/HBoxContainer/Overworld" to="." method="_on_Overworld_pressed"]
[connection signal="pressed" from="UI/VBoxContainer/Quests" to="." method="_on_Quests_pressed"]
[connection signal="pressed" from="UI/VBoxContainer/Cutscene" to="." method="_on_Custscene_pressed"]
[connection signal="pressed" from="UI/VBoxContainer/Cooking" to="." method="_on_Cooking_pressed"]
[connection signal="pressed" from="UI/VBoxContainer/Battle" to="." method="_on_Battle_pressed"]
Press tab to bring up debug menu."
horizontal_alignment = 1