giants-godot/ui/menus/main_menu.tscn

71 lines
1.7 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_right = 1.0
anchor_bottom = 1.0
margin_left = 470.0
margin_top = 323.634
margin_right = -470.0
margin_bottom = -25.3656
custom_constants/separation = 10
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Start" type="Button" parent="VBoxContainer"]
margin_top = 63.0
margin_right = 84.0
margin_bottom = 98.0
theme = ExtResource( 1 )
text = "Start"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Options" type="Button" parent="VBoxContainer"]
margin_top = 108.0
margin_right = 84.0
margin_bottom = 143.0
text = "Options"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Quit" type="Button" parent="VBoxContainer"]
margin_top = 153.0
margin_right = 84.0
margin_bottom = 188.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"]