Files
Dawn-Godot/scenes/MainMenu.tscn
2025-05-05 19:27:19 -05:00

63 lines
1.9 KiB
Plaintext

[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"]
[node name="MainMenu" type="Node3D"]
script = ExtResource("1_yqorp")
[node name="UI" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
layout_mode = 1
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 171.0
grow_vertical = 2
[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
selected = 0
item_count = 1
popup/item_0/text = "TEST_MAP"
popup/item_0/id = 0
[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"]