|
@@ -23,19 +23,28 @@ grow_horizontal = 2
|
|
|
theme_override_font_sizes/font_size = 42
|
|
|
text = "Last Stand of Humanity"
|
|
|
|
|
|
-[node name="Button" type="Button" parent="."]
|
|
|
+[node name="Buttons" type="VBoxContainer" parent="."]
|
|
|
layout_mode = 1
|
|
|
anchors_preset = 8
|
|
|
anchor_left = 0.5
|
|
|
anchor_top = 0.5
|
|
|
anchor_right = 0.5
|
|
|
anchor_bottom = 0.5
|
|
|
-offset_left = -42.5
|
|
|
-offset_top = -19.0
|
|
|
-offset_right = 42.5
|
|
|
-offset_bottom = 19.0
|
|
|
+offset_left = -66.5
|
|
|
+offset_top = -37.5
|
|
|
+offset_right = 133.5
|
|
|
+offset_bottom = 37.5
|
|
|
grow_horizontal = 2
|
|
|
grow_vertical = 2
|
|
|
+
|
|
|
+[node name="NewGame" type="Button" parent="Buttons"]
|
|
|
+layout_mode = 2
|
|
|
+theme_override_font_sizes/font_size = 23
|
|
|
+text = "NEW GAME"
|
|
|
+
|
|
|
+[node name="Quit" type="Button" parent="Buttons"]
|
|
|
+layout_mode = 2
|
|
|
text = "QUIT"
|
|
|
|
|
|
-[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
|
|
+[connection signal="pressed" from="Buttons/NewGame" to="." method="_on_new_game_pressed"]
|
|
|
+[connection signal="pressed" from="Buttons/Quit" to="." method="_on_button_pressed"]
|