2021-09-17 15:04:05 +02:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://ui/ui_theme.tres" type="Theme" id=1]
|
2021-09-22 18:04:03 +02:00
|
|
|
[ext_resource path="res://ui/menus/main_menu.gd" type="Script" id=2]
|
2021-09-17 15:04:05 +02:00
|
|
|
|
|
|
|
[node name="MainMenuUI" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
theme = ExtResource( 1 )
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_right = 1.0
|
|
|
|
mouse_filter = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
color = Color( 0, 0, 0, 0.411765 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
2021-10-18 23:49:38 +02:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 0.5
|
2021-09-17 15:04:05 +02:00
|
|
|
anchor_bottom = 1.0
|
2021-10-18 23:49:38 +02:00
|
|
|
margin_left = -110.5
|
|
|
|
margin_top = -256.0
|
|
|
|
margin_right = 110.5
|
|
|
|
margin_bottom = -5.0
|
2021-09-17 15:04:05 +02:00
|
|
|
custom_constants/separation = 10
|
|
|
|
alignment = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Start" type="Button" parent="VBoxContainer"]
|
2021-10-18 23:49:38 +02:00
|
|
|
margin_top = 18.0
|
|
|
|
margin_right = 221.0
|
|
|
|
margin_bottom = 53.0
|
2021-09-17 15:04:05 +02:00
|
|
|
theme = ExtResource( 1 )
|
|
|
|
text = "Start"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2021-10-18 23:49:38 +02:00
|
|
|
[node name="Join" type="Button" parent="VBoxContainer"]
|
|
|
|
margin_top = 63.0
|
|
|
|
margin_right = 221.0
|
|
|
|
margin_bottom = 98.0
|
|
|
|
disabled = true
|
|
|
|
text = "Join Multiplayer Game"
|
|
|
|
|
|
|
|
[node name="Host" type="Button" parent="VBoxContainer"]
|
2021-09-17 15:04:05 +02:00
|
|
|
margin_top = 108.0
|
2021-10-18 23:49:38 +02:00
|
|
|
margin_right = 221.0
|
2021-09-17 15:04:05 +02:00
|
|
|
margin_bottom = 143.0
|
2021-10-18 23:49:38 +02:00
|
|
|
disabled = true
|
|
|
|
text = "Host Multiplayer Game"
|
|
|
|
|
|
|
|
[node name="Options" type="Button" parent="VBoxContainer"]
|
|
|
|
margin_top = 153.0
|
|
|
|
margin_right = 221.0
|
|
|
|
margin_bottom = 188.0
|
2021-09-17 15:04:05 +02:00
|
|
|
text = "Options"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Quit" type="Button" parent="VBoxContainer"]
|
2021-10-18 23:49:38 +02:00
|
|
|
margin_top = 198.0
|
|
|
|
margin_right = 221.0
|
|
|
|
margin_bottom = 233.0
|
2021-09-17 15:04:05 +02:00
|
|
|
text = "Quit"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[connection signal="pressed" from="VBoxContainer/Start" to="." method="_on_Start_pressed"]
|
|
|
|
[connection signal="pressed" from="VBoxContainer/Options" to="." method="_on_Options_pressed"]
|
|
|
|
[connection signal="pressed" from="VBoxContainer/Quit" to="." method="_on_Quit_pressed"]
|