This repository has been archived on 2024-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
HoppyEaster/Scenes/Main Menu.tscn

295 lines
10 KiB
Text
Raw Normal View History

[gd_scene load_steps=14 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/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/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/Props/Cake.png" id="5_7ull8"]
[ext_resource type="Texture2D" uid="uid://c3yg6u8yncau3" path="res://Assets/Sprites/Easter Egg/Egg 2.png" id="6_45o7d"]
[ext_resource type="Texture2D" uid="uid://cp84ssaqs3pmp" path="res://Assets/Sprites/UI Elements/Jesus.png" id="6_wnx18"]
[ext_resource type="Texture2D" uid="uid://dkotcqflp3e32" path="res://Assets/Sprites/Easter Egg/Egg 1.png" id="7_285vd"]
[ext_resource type="Theme" uid="uid://o3vg845para" path="res://Assets/UI_Theme.tres" id="8_lr748"]
[ext_resource type="Script" path="res://Scripts/UI/MenuButton.gd" id="9_2cu5l"]
[ext_resource type="Texture2D" uid="uid://6snf183fgfo5" path="res://Assets/Sprites/UI Elements/Cross.png" id="12_dhfc0"]
[ext_resource type="AudioStream" uid="uid://c6nf5s6xy2uii" path="res://Assets/Temp Music/omw-to-beat-the-big-bad.wav" id="13_3j724"]
[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="ColorRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.576471, 0.831373, 0.709804, 1)
[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
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("8_lr748")
[node name="CenterContainer" type="CenterContainer" parent="MainVBox"]
custom_minimum_size = Vector2(0, 150)
layout_mode = 2
[node name="Label" type="Label" parent="MainVBox/CenterContainer"]
layout_mode = 2
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
theme_override_constants/separation = 10
alignment = 1
[node name="PlayButton" type="TextureButton" parent="MainVBox/ButtonsVbox" node_paths=PackedStringArray("leftPointer", "rightPointer", "textBox")]
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")
mouse_default_cursor_shape = 2
script = ExtResource("9_2cu5l")
text = "Play"
pointer_margin_from_center = 80
leftPointer = NodePath("LeftPointer")
rightPointer = NodePath("RightPointer")
textBox = NodePath("RichTextLabel")
[node name="RichTextLabel" type="RichTextLabel" parent="MainVBox/ButtonsVbox/PlayButton"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_font_sizes/normal_font_size = 30
bbcode_enabled = true
text = "[center]Play[/center]"
[node name="LeftPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/PlayButton"]
visible = false
position = Vector2(502, 12)
rotation = 1.5708
texture = ExtResource("12_dhfc0")
[node name="RightPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/PlayButton"]
visible = false
position = Vector2(650, 12)
rotation = -1.5708
texture = ExtResource("12_dhfc0")
[node name="SettingsButton" type="TextureButton" parent="MainVBox/ButtonsVbox" node_paths=PackedStringArray("leftPointer", "rightPointer", "textBox")]
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")
mouse_default_cursor_shape = 2
script = ExtResource("9_2cu5l")
text = "Settings"
pointer_margin_from_center = 130
leftPointer = NodePath("LeftPointer")
rightPointer = NodePath("RightPointer")
textBox = NodePath("RichTextLabel")
[node name="RichTextLabel" type="RichTextLabel" parent="MainVBox/ButtonsVbox/SettingsButton"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_font_sizes/normal_font_size = 30
bbcode_enabled = true
text = "[center]Settings[/center]"
[node name="LeftPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/SettingsButton"]
visible = false
position = Vector2(502, 12)
rotation = 1.5708
texture = ExtResource("12_dhfc0")
[node name="RightPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/SettingsButton"]
visible = false
position = Vector2(650, 12)
rotation = -1.5708
texture = ExtResource("12_dhfc0")
[node name="AboutButton" type="TextureButton" parent="MainVBox/ButtonsVbox" node_paths=PackedStringArray("leftPointer", "rightPointer", "textBox")]
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")
mouse_default_cursor_shape = 2
script = ExtResource("9_2cu5l")
text = "About"
pointer_margin_from_center = 95
leftPointer = NodePath("LeftPointer")
rightPointer = NodePath("RightPointer")
textBox = NodePath("RichTextLabel")
[node name="RichTextLabel" type="RichTextLabel" parent="MainVBox/ButtonsVbox/AboutButton"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_font_sizes/normal_font_size = 30
bbcode_enabled = true
text = "[center]About[/center]"
[node name="LeftPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/AboutButton"]
visible = false
position = Vector2(502, 12)
rotation = 1.5708
texture = ExtResource("12_dhfc0")
[node name="RightPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/AboutButton"]
visible = false
position = Vector2(650, 12)
rotation = -1.5708
texture = ExtResource("12_dhfc0")
[node name="QuitButton" type="TextureButton" parent="MainVBox/ButtonsVbox" node_paths=PackedStringArray("leftPointer", "rightPointer", "textBox")]
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")
mouse_default_cursor_shape = 2
script = ExtResource("9_2cu5l")
text = "Quit"
pointer_margin_from_center = 80
leftPointer = NodePath("LeftPointer")
rightPointer = NodePath("RightPointer")
textBox = NodePath("RichTextLabel")
[node name="RichTextLabel" type="RichTextLabel" parent="MainVBox/ButtonsVbox/QuitButton"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_font_sizes/normal_font_size = 30
bbcode_enabled = true
text = "[center]Quit[/center]"
[node name="LeftPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/QuitButton"]
visible = false
position = Vector2(502, 12)
rotation = 1.5708
texture = ExtResource("12_dhfc0")
[node name="RightPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/QuitButton"]
visible = false
position = Vector2(650, 12)
rotation = -1.5708
texture = ExtResource("12_dhfc0")
[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"]