282 lines
10 KiB
Text
282 lines
10 KiB
Text
[gd_scene load_steps=24 format=3 uid="uid://4fysk8vaw3e1"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/UI/MainMenuManager.gd" id="1_qepq0"]
|
|
[ext_resource type="Texture2D" uid="uid://tjxkew3m4v8m" path="res://Assets/Sprites/Start Menu Old/Easter Egg/Shadow.png" id="2_8o6th"]
|
|
[ext_resource type="PackedScene" uid="uid://c4btepmue6d7p" path="res://Scenes/Game.tscn" id="2_28004"]
|
|
[ext_resource type="Texture2D" uid="uid://daat37cyg0go5" path="res://Assets/Sprites/Start Menu Old/Easter Egg/Egg 3.png" id="3_1e3fe"]
|
|
[ext_resource type="PackedScene" uid="uid://cbfcolm6mjolp" path="res://Prefabs/Settings Menu.tscn" id="3_r3r61"]
|
|
[ext_resource type="Texture2D" uid="uid://dhvvw4yckl8x7" path="res://Assets/Sprites/Start Menu Old/Cake.png" id="5_7ull8"]
|
|
[ext_resource type="Texture2D" uid="uid://c3yg6u8yncau3" path="res://Assets/Sprites/Start Menu Old/Easter Egg/Egg 2.png" id="6_45o7d"]
|
|
[ext_resource type="Texture2D" uid="uid://cp84ssaqs3pmp" path="res://Assets/Sprites/Start Menu Old/Jesus.png" id="6_wnx18"]
|
|
[ext_resource type="Texture2D" uid="uid://dkotcqflp3e32" path="res://Assets/Sprites/Start Menu Old/Easter Egg/Egg 1.png" id="7_285vd"]
|
|
[ext_resource type="FontFile" uid="uid://dqdeftjkwxe64" path="res://Assets/Fonts/Dogica/dogicapixel.ttf" id="10_seibg"]
|
|
[ext_resource type="AudioStream" uid="uid://c6nf5s6xy2uii" path="res://Assets/Temp Music/omw-to-beat-the-big-bad.wav" id="13_3j724"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rmi2t"]
|
|
bg_color = Color(0.427451, 0.423529, 0.8, 1)
|
|
border_width_left = 4
|
|
border_width_top = 4
|
|
border_width_right = 4
|
|
border_width_bottom = 4
|
|
border_color = Color(0, 0, 0, 1)
|
|
expand_margin_left = 7.0
|
|
expand_margin_right = 7.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_47cud"]
|
|
bg_color = Color(0.427451, 0.423529, 0.8, 1)
|
|
border_width_left = 4
|
|
border_width_bottom = 4
|
|
border_color = Color(0.317647, 0.301961, 0.658824, 1)
|
|
corner_radius_top_left = 2
|
|
corner_radius_bottom_right = 2
|
|
expand_margin_left = 7.0
|
|
expand_margin_right = 7.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2i81h"]
|
|
bg_color = Color(0.392157, 0.380392, 0.760784, 1)
|
|
border_width_left = 4
|
|
border_width_bottom = 4
|
|
border_color = Color(0.262745, 0.243137, 0.556863, 1)
|
|
corner_radius_top_left = 2
|
|
corner_radius_bottom_right = 2
|
|
expand_margin_left = 10.0
|
|
expand_margin_right = 10.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vel2s"]
|
|
bg_color = Color(0.392157, 0.380392, 0.760784, 1)
|
|
expand_margin_left = 7.0
|
|
expand_margin_right = 7.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7k6ml"]
|
|
bg_color = Color(0.392157, 0.380392, 0.760784, 1)
|
|
expand_margin_right = 10.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_11k4d"]
|
|
bg_color = Color(0.392157, 0.380392, 0.760784, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nyi0q"]
|
|
bg_color = Color(0.392157, 0.380392, 0.760784, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qky0m"]
|
|
bg_color = Color(0.313726, 0.231373, 0.4, 1)
|
|
border_width_left = 4
|
|
border_width_top = 4
|
|
border_width_right = 4
|
|
border_width_bottom = 4
|
|
border_color = Color(0.313726, 0.231373, 0.4, 1)
|
|
corner_radius_top_left = 2
|
|
corner_radius_top_right = 2
|
|
corner_radius_bottom_right = 2
|
|
corner_radius_bottom_left = 2
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lleuj"]
|
|
bg_color = Color(0.941176, 0.964706, 0.909804, 1)
|
|
border_width_left = 5
|
|
border_width_top = 5
|
|
border_width_right = 5
|
|
border_width_bottom = 5
|
|
border_color = Color(0.65098, 0.741176, 0.509804, 1)
|
|
corner_radius_top_left = 5
|
|
corner_radius_top_right = 5
|
|
corner_radius_bottom_right = 5
|
|
corner_radius_bottom_left = 5
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rcukk"]
|
|
bg_color = Color(0.941176, 0.964706, 0.909804, 1)
|
|
border_width_left = 3
|
|
border_width_top = 3
|
|
border_width_right = 3
|
|
border_color = Color(0.658824, 0.74902, 0.517647, 1)
|
|
expand_margin_left = 5.0
|
|
expand_margin_top = 5.0
|
|
expand_margin_right = 5.0
|
|
expand_margin_bottom = 5.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_44exv"]
|
|
bg_color = Color(0.894118, 0.94902, 0.835294, 1)
|
|
border_width_left = 4
|
|
border_width_top = 4
|
|
border_width_right = 4
|
|
border_color = Color(0.635294, 0.756863, 0.482353, 1)
|
|
expand_margin_left = 4.0
|
|
expand_margin_top = 4.0
|
|
expand_margin_right = 4.0
|
|
|
|
[sub_resource type="
|
|
Theme" id="Theme_w723v"]
|
|
default_font = ExtResource("10_seibg")
|
|
Button/styles/focus = SubResource("StyleBoxFlat_rmi2t")
|
|
Button/styles/hover = SubResource("StyleBoxFlat_47cud")
|
|
Button/styles/normal = SubResource("StyleBoxFlat_2i81h")
|
|
Button/styles/pressed = SubResource("StyleBoxFlat_vel2s")
|
|
CheckButton/styles/hover_pressed = SubResource("StyleBoxFlat_7k6ml")
|
|
HSlider/styles/grabber_area = SubResource("StyleBoxFlat_11k4d")
|
|
HSlider/styles/grabber_area_highlight = SubResource("StyleBoxFlat_nyi0q")
|
|
HSlider/styles/slider = SubResource("StyleBoxFlat_qky0m")
|
|
TabContainer/colors/font_selected_color = Color(0.0980392, 0.0980392, 0.0980392, 1)
|
|
TabContainer/colors/font_unselected_color = Color(0.435294, 0.435294, 0.435294, 1)
|
|
TabContainer/styles/panel = SubResource("StyleBoxFlat_lleuj")
|
|
TabContainer/styles/tab_selected = SubResource("StyleBoxFlat_rcukk")
|
|
TabContainer/styles/tab_unselected = SubResource("StyleBoxFlat_44exv")
|
|
|
|
[node name="MainMenu" type="Node" node_paths=PackedStringArray("default_focus")]
|
|
script = ExtResource("1_qepq0")
|
|
game_scene = ExtResource("2_28004")
|
|
settings_scene = ExtResource("3_r3r61")
|
|
default_focus = NodePath("MainVBox/ButtonsVbox/PlayButton")
|
|
|
|
[node name="ColorRect" type="Panel" parent="."]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Decorations" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Left Decor" type="CenterContainer" parent="Decorations"]
|
|
custom_minimum_size = Vector2(576, 0)
|
|
layout_mode = 1
|
|
anchors_preset = 9
|
|
anchor_bottom = 1.0
|
|
grow_vertical = 2
|
|
|
|
[node name="Shadow" type="Sprite2D" parent="Decorations/Left Decor"]
|
|
position = Vector2(226.563, 338.875)
|
|
scale = Vector2(22.7773, 15.6953)
|
|
texture = ExtResource("2_8o6th")
|
|
|
|
[node name="Egg3" type="Sprite2D" parent="Decorations/Left Decor"]
|
|
position = Vector2(134, 477)
|
|
scale = Vector2(4.6875, 4.625)
|
|
texture = ExtResource("3_1e3fe")
|
|
|
|
[node name="Jesus" type="Sprite2D" parent="Decorations/Left Decor"]
|
|
position = Vector2(220, 335)
|
|
scale = Vector2(7.0431, 6.97321)
|
|
texture = ExtResource("6_wnx18")
|
|
|
|
[node name="Cake" type="Sprite2D" parent="Decorations/Left Decor"]
|
|
position = Vector2(310, 491)
|
|
scale = Vector2(2.59375, 2.32031)
|
|
texture = ExtResource("5_7ull8")
|
|
|
|
[node name="Right Decor" type="CenterContainer" parent="Decorations"]
|
|
custom_minimum_size = Vector2(576, 0)
|
|
layout_mode = 1
|
|
anchors_preset = 11
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 2
|
|
|
|
[node name="Shadow2" type="Sprite2D" parent="Decorations/Right Decor"]
|
|
position = Vector2(351, 403)
|
|
scale = Vector2(19.0938, 11.8125)
|
|
texture = ExtResource("2_8o6th")
|
|
|
|
[node name="Egg2" type="Sprite2D" parent="Decorations/Right Decor"]
|
|
position = Vector2(294, 487)
|
|
rotation = -1.5708
|
|
scale = Vector2(4.89203, 5.21732)
|
|
texture = ExtResource("6_45o7d")
|
|
|
|
[node name="Egg1" type="Sprite2D" parent="Decorations/Right Decor"]
|
|
position = Vector2(420.75, 471.25)
|
|
scale = Vector2(4.89062, 4.95313)
|
|
texture = ExtResource("7_285vd")
|
|
|
|
[node name="GoodBunny" type="Sprite2D" parent="Decorations/Right Decor"]
|
|
position = Vector2(331, 458.5)
|
|
scale = Vector2(7.14286, 7.02941)
|
|
hframes = 6
|
|
|
|
[node name="MainVBox" type="VBoxContainer" parent="."]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 31.0
|
|
offset_top = 22.0
|
|
offset_right = -31.0
|
|
offset_bottom = -22.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = SubResource("Theme_w723v")
|
|
|
|
[node name="Label" type="Label" parent="MainVBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 8
|
|
theme_override_font_sizes/font_size = 50
|
|
text = "HOPPY EASTER GAME THING"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="ButtonsVbox" type="VBoxContainer" parent="MainVBox"]
|
|
custom_minimum_size = Vector2(0, 495)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 10
|
|
alignment = 1
|
|
|
|
[node name="PlayButton" type="Button" parent="MainVBox/ButtonsVbox"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../QuitButton")
|
|
focus_neighbor_top = NodePath("../QuitButton")
|
|
focus_neighbor_right = NodePath("../SettingsButton")
|
|
focus_neighbor_bottom = NodePath("../SettingsButton")
|
|
focus_next = NodePath("../SettingsButton")
|
|
focus_previous = NodePath("../QuitButton")
|
|
text = "Play"
|
|
|
|
[node name="SettingsButton" type="Button" parent="MainVBox/ButtonsVbox"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../PlayButton")
|
|
focus_neighbor_top = NodePath("../PlayButton")
|
|
focus_neighbor_right = NodePath("../AboutButton")
|
|
focus_neighbor_bottom = NodePath("../AboutButton")
|
|
focus_next = NodePath("../AboutButton")
|
|
focus_previous = NodePath("../PlayButton")
|
|
text = "Settings"
|
|
|
|
[node name="AboutButton" type="Button" parent="MainVBox/ButtonsVbox"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../SettingsButton")
|
|
focus_neighbor_top = NodePath("../SettingsButton")
|
|
focus_neighbor_right = NodePath("../QuitButton")
|
|
focus_neighbor_bottom = NodePath("../QuitButton")
|
|
focus_next = NodePath("../QuitButton")
|
|
focus_previous = NodePath("../SettingsButton")
|
|
text = "About"
|
|
|
|
[node name="QuitButton" type="Button" parent="MainVBox/ButtonsVbox"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
focus_neighbor_left = NodePath("../AboutButton")
|
|
focus_neighbor_top = NodePath("../AboutButton")
|
|
focus_neighbor_right = NodePath("../PlayButton")
|
|
focus_neighbor_bottom = NodePath("../PlayButton")
|
|
focus_next = NodePath("../PlayButton")
|
|
focus_previous = NodePath("../AboutButton")
|
|
text = "Quit"
|
|
|
|
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("13_3j724")
|
|
autoplay = true
|
|
bus = &"Music"
|
|
|
|
[connection signal="pressed" from="MainVBox/ButtonsVbox/PlayButton" to="." method="_on_play_button_pressed"]
|
|
[connection signal="pressed" from="MainVBox/ButtonsVbox/SettingsButton" to="." method="_on_settings_button_pressed"]
|
|
[connection signal="pressed" from="MainVBox/ButtonsVbox/AboutButton" to="." method="_on_about_button_pressed"]
|
|
[connection signal="pressed" from="MainVBox/ButtonsVbox/QuitButton" to="." method="_on_quit_button_pressed"]
|