|
@@ -1,7 +1,13 @@
|
|
|
-[gd_scene load_steps=3 format=3 uid="uid://bnug1ybm5mlyd"]
|
|
|
+[gd_scene load_steps=6 format=3 uid="uid://bnug1ybm5mlyd"]
|
|
|
|
|
|
[ext_resource type="Script" path="res://screens/main_menu.gd" id="1_6qk7l"]
|
|
|
+[ext_resource type="Texture2D" uid="uid://b6nsk6rd8a7sn" path="res://assets/textures/menu_background.jpg" id="2_6qrvo"]
|
|
|
[ext_resource type="PackedScene" uid="uid://bq2tsg7ic7l6h" path="res://assets/scenes/logo.tscn" id="2_tr1i0"]
|
|
|
+[ext_resource type="FontFile" uid="uid://cqtognhaksl7j" path="res://assets/fonts/Potra.ttf" id="4_e6syc"]
|
|
|
+
|
|
|
+[sub_resource type="LabelSettings" id="LabelSettings_b3san"]
|
|
|
+font = ExtResource("4_e6syc")
|
|
|
+font_size = 42
|
|
|
|
|
|
[node name="MainMenu" type="Control"]
|
|
|
layout_mode = 3
|
|
@@ -12,30 +18,26 @@ grow_horizontal = 2
|
|
|
grow_vertical = 2
|
|
|
script = ExtResource("1_6qk7l")
|
|
|
|
|
|
+[node name="Background" type="TextureRect" parent="."]
|
|
|
+layout_mode = 0
|
|
|
+offset_right = 40.0
|
|
|
+offset_bottom = 40.0
|
|
|
+texture = ExtResource("2_6qrvo")
|
|
|
+
|
|
|
[node name="Logo" parent="." instance=ExtResource("2_tr1i0")]
|
|
|
layout_mode = 1
|
|
|
-anchors_preset = 5
|
|
|
-anchor_left = 0.5
|
|
|
-anchor_right = 0.5
|
|
|
-offset_left = -404.0
|
|
|
-offset_top = 83.0
|
|
|
-offset_right = 405.0
|
|
|
-offset_bottom = 166.0
|
|
|
-grow_horizontal = 2
|
|
|
+offset_left = 56.0
|
|
|
+offset_top = 59.0
|
|
|
+offset_right = 982.0
|
|
|
+offset_bottom = 211.0
|
|
|
+scale = Vector2(0.856422, 0.698644)
|
|
|
|
|
|
[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 = -100.0
|
|
|
-offset_top = -90.0
|
|
|
-offset_right = 100.0
|
|
|
-offset_bottom = 90.0
|
|
|
-grow_horizontal = 2
|
|
|
-grow_vertical = 2
|
|
|
+offset_left = 343.0
|
|
|
+offset_top = 276.0
|
|
|
+offset_right = 532.0
|
|
|
+offset_bottom = 456.0
|
|
|
|
|
|
[node name="NewGame" type="Button" parent="Buttons"]
|
|
|
layout_mode = 2
|
|
@@ -59,6 +61,17 @@ text = "CREDITS"
|
|
|
layout_mode = 2
|
|
|
text = "QUIT"
|
|
|
|
|
|
+[node name="Authors" type="Label" parent="."]
|
|
|
+layout_mode = 0
|
|
|
+offset_left = 210.0
|
|
|
+offset_top = 544.0
|
|
|
+offset_right = 682.0
|
|
|
+offset_bottom = 649.0
|
|
|
+text = "A GAME BY:
|
|
|
+LORDDRAKO & UGLIBOY"
|
|
|
+label_settings = SubResource("LabelSettings_b3san")
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
[connection signal="pressed" from="Buttons/NewGame" to="." method="_on_new_game_pressed"]
|
|
|
[connection signal="pressed" from="Buttons/Settings" to="." method="_on_settings_pressed"]
|
|
|
[connection signal="pressed" from="Buttons/Quit" to="." method="_on_quit_pressed"]
|