42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://dbap0wfqfu12h"]
|
|
|
|
[ext_resource type="Script" uid="uid://d1s1dnvvro0ij" path="res://ui/main_menu.gd" id="1_t7e0r"]
|
|
|
|
[node name="MainMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_t7e0r")
|
|
|
|
[node name="MainContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -47.0
|
|
offset_top = -33.0
|
|
offset_right = 47.0
|
|
offset_bottom = 33.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContainer"]
|
|
layout_mode = 2
|
|
text = "FreeFTF"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HostGameButton" type="Button" parent="MainContainer"]
|
|
layout_mode = 2
|
|
text = "Host Game"
|
|
|
|
[node name="JoinGameButton" type="Button" parent="MainContainer"]
|
|
layout_mode = 2
|
|
text = "Join Game"
|
|
|
|
[connection signal="pressed" from="MainContainer/HostGameButton" to="." method="_on_host_game_button_pressed"]
|
|
[connection signal="pressed" from="MainContainer/JoinGameButton" to="." method="_on_join_game_button_pressed"]
|