2
This commit is contained in:
parent
0a17bf8103
commit
fc017ae798
6 changed files with 59 additions and 19 deletions
37
Scenes/Menus/MainMenu.tscn
Normal file
37
Scenes/Menus/MainMenu.tscn
Normal file
|
@ -0,0 +1,37 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://Scripts/MainMenu.cs" type="Script" id=1]
|
||||
|
||||
[node name="MainMenu" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 600.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Start" type="Button" parent="CenterContainer"]
|
||||
margin_left = 491.0
|
||||
margin_top = 290.0
|
||||
margin_right = 532.0
|
||||
margin_bottom = 310.0
|
||||
text = "Start"
|
||||
|
||||
[node name="Options" type="Button" parent="CenterContainer"]
|
||||
visible = false
|
||||
margin_left = 480.0
|
||||
margin_top = 290.0
|
||||
margin_right = 543.0
|
||||
margin_bottom = 310.0
|
||||
text = "Options"
|
||||
|
||||
[node name="Exit" type="Button" parent="CenterContainer"]
|
||||
visible = false
|
||||
margin_left = 494.0
|
||||
margin_top = 290.0
|
||||
margin_right = 529.0
|
||||
margin_bottom = 310.0
|
||||
text = "Exit"
|
||||
[connection signal="pressed" from="CenterContainer/Start" to="." method="_on_Start_pressed"]
|
Loading…
Add table
Add a link
Reference in a new issue