giants-godot/ui/menus/main_menu.tscn

87 lines
2.0 KiB
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://ui/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/menus/main_menu.gd" type="Script" id=2]
[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="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -110.5
margin_top = -256.0
margin_right = 110.5
margin_bottom = -5.0
custom_constants/separation = 10
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Start" type="Button" parent="VBoxContainer"]
margin_top = 18.0
margin_right = 221.0
margin_bottom = 53.0
theme = ExtResource( 1 )
text = "Start"
__meta__ = {
"_edit_use_anchors_": false
}
[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"]
margin_top = 108.0
margin_right = 221.0
margin_bottom = 143.0
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
text = "Options"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Quit" type="Button" parent="VBoxContainer"]
margin_top = 198.0
margin_right = 221.0
margin_bottom = 233.0
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"]