|
@@ -1,6 +1,7 @@
|
|
|
-[gd_scene load_steps=2 format=3 uid="uid://bnug1ybm5mlyd"]
|
|
|
+[gd_scene load_steps=3 format=3 uid="uid://bnug1ybm5mlyd"]
|
|
|
|
|
|
[ext_resource type="Script" path="res://screens/main_menu.gd" id="1_6qk7l"]
|
|
|
+[ext_resource type="FontFile" uid="uid://7xrvisb6ikax" path="res://assets/fonts/crimes.ttf" id="2_scvm2"]
|
|
|
|
|
|
[node name="MainMenu" type="Control"]
|
|
|
layout_mode = 3
|
|
@@ -16,11 +17,16 @@ layout_mode = 1
|
|
|
anchors_preset = 5
|
|
|
anchor_left = 0.5
|
|
|
anchor_right = 0.5
|
|
|
-offset_left = -238.5
|
|
|
-offset_right = 238.5
|
|
|
-offset_bottom = 58.0
|
|
|
+offset_left = -399.0
|
|
|
+offset_top = 55.0
|
|
|
+offset_right = 399.0
|
|
|
+offset_bottom = 114.0
|
|
|
grow_horizontal = 2
|
|
|
-theme_override_font_sizes/font_size = 42
|
|
|
+theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
|
+theme_override_constants/shadow_offset_x = 5
|
|
|
+theme_override_constants/shadow_offset_y = 5
|
|
|
+theme_override_fonts/font = ExtResource("2_scvm2")
|
|
|
+theme_override_font_sizes/font_size = 80
|
|
|
text = "Last Stand of Humanity"
|
|
|
|
|
|
[node name="Buttons" type="VBoxContainer" parent="."]
|
|
@@ -42,9 +48,23 @@ layout_mode = 2
|
|
|
theme_override_font_sizes/font_size = 23
|
|
|
text = "NEW GAME"
|
|
|
|
|
|
+[node name="Leaderboard" type="Button" parent="Buttons"]
|
|
|
+layout_mode = 2
|
|
|
+disabled = true
|
|
|
+text = "LEADERBOARD"
|
|
|
+
|
|
|
+[node name="Settings" type="Button" parent="Buttons"]
|
|
|
+layout_mode = 2
|
|
|
+disabled = true
|
|
|
+text = "SETTINGS"
|
|
|
+
|
|
|
+[node name="Credits" type="Button" parent="Buttons"]
|
|
|
+layout_mode = 2
|
|
|
+text = "CREDITS"
|
|
|
+
|
|
|
[node name="Quit" type="Button" parent="Buttons"]
|
|
|
layout_mode = 2
|
|
|
text = "QUIT"
|
|
|
|
|
|
[connection signal="pressed" from="Buttons/NewGame" to="." method="_on_new_game_pressed"]
|
|
|
-[connection signal="pressed" from="Buttons/Quit" to="." method="_on_button_pressed"]
|
|
|
+[connection signal="pressed" from="Buttons/Quit" to="." method="_on_quit_pressed"]
|