2021-02-04 19:25:48 +00:00
|
|
|
[gd_scene load_steps=3 format=2]
|
2021-02-04 19:09:35 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://StarMenu.gd" type="Script" id=1]
|
2021-02-04 19:25:48 +00:00
|
|
|
[ext_resource path="res://Scenes/UI/DefaultTheme.tres" type="Theme" id=2]
|
2021-02-04 19:09:35 +00:00
|
|
|
|
|
|
|
[node name="StarMenu" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2021-02-04 19:25:48 +00:00
|
|
|
theme = ExtResource( 2 )
|
2021-02-04 19:09:35 +00:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
2021-02-04 19:25:48 +00:00
|
|
|
margin_left = 132.0
|
|
|
|
margin_top = 62.0
|
|
|
|
margin_right = 188.0
|
|
|
|
margin_bottom = 118.0
|
2021-02-04 19:09:35 +00:00
|
|
|
|
|
|
|
[node name="StartButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2021-02-04 19:25:48 +00:00
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 16.0
|
|
|
|
rect_min_size = Vector2( 56, 16 )
|
2021-02-04 19:09:35 +00:00
|
|
|
text = "New Game"
|
|
|
|
|
|
|
|
[node name="LoadButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2021-02-04 19:25:48 +00:00
|
|
|
margin_top = 20.0
|
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 36.0
|
|
|
|
rect_min_size = Vector2( 56, 16 )
|
2021-02-04 19:09:35 +00:00
|
|
|
text = "Load game"
|
|
|
|
|
|
|
|
[node name="QuitButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2021-02-04 19:25:48 +00:00
|
|
|
margin_top = 40.0
|
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 56.0
|
|
|
|
rect_min_size = Vector2( 56, 16 )
|
2021-02-04 19:09:35 +00:00
|
|
|
text = "Quit"
|
2021-05-22 16:33:00 +00:00
|
|
|
|
2021-02-04 19:09:35 +00:00
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/LoadButton" to="." method="_on_LoadButton_pressed"]
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]
|