imperfect-space/scenes/main_menu.tscn
2026-01-29 09:43:15 -05:00

40 lines
1.4 KiB
Text

[gd_scene format=3 uid="uid://bnmh1mebldx4l"]
[ext_resource type="Script" uid="uid://b7inoxterktk3" path="res://scripts/MainMenu/MainMenuController.cs" id="1_l6cm7"]
[node name="MainMenu" type="Control" unique_id=1620629749]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_l6cm7")
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=601944177]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer" unique_id=180209254]
layout_mode = 2
alignment = 1
[node name="HostGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=364461644]
layout_mode = 2
text = "Host Game"
[node name="JoinGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=1719078976]
layout_mode = 2
text = "Join Game"
[node name="ExitGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=1050417063]
layout_mode = 2
text = "Exit Game"
[connection signal="pressed" from="CenterContainer/VBoxContainer/HostGameButton" to="." method="OnHostGame"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/JoinGameButton" to="." method="OnJoinGame"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/ExitGameButton" to="." method="OnExitGame"]