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/MainMenu.tscn

290 lines
10 KiB
Text
Raw Normal View History

[gd_scene load_steps=13 format=3 uid="uid://c061h8kte43oy"]
[ext_resource type="Script" path="res://Scripts/MainMenuManager.gd" id="1_0vcve"]
[ext_resource type="Script" path="res://Scripts/MenuButton.gd" id="1_croa2"]
[ext_resource type="Texture2D" uid="uid://ce6njuef2g4vy" path="res://Assets/Sprites/Cross.png" id="1_joe3h"]
[ext_resource type="Texture2D" uid="uid://tjxkew3m4v8m" path="res://Assets/Sprites/Easter Egg/Shadow.png" id="4_8qs7j"]
[ext_resource type="Texture2D" uid="uid://daat37cyg0go5" path="res://Assets/Sprites/Easter Egg/Egg 3.png" id="5_1ocdn"]
[ext_resource type="Texture2D" uid="uid://dhvvw4yckl8x7" path="res://Assets/Sprites/Props/Cake.png" id="5_5gyoe"]
[ext_resource type="Texture2D" uid="uid://cnrja43wk2mmd" path="res://Assets/Sprites/Jesus.png" id="6_ag6vh"]
[ext_resource type="Texture2D" uid="uid://c3yg6u8yncau3" path="res://Assets/Sprites/Easter Egg/Egg 2.png" id="8_cha7m"]
[ext_resource type="Texture2D" uid="uid://y532moy2ihmn" path="res://Assets/Sprites/Good Bunny/good bunny.png" id="8_j5v2i"]
[ext_resource type="Texture2D" uid="uid://dkotcqflp3e32" path="res://Assets/Sprites/Easter Egg/Egg 1.png" id="9_ujgvg"]
[ext_resource type="Theme" uid="uid://o3vg845para" path="res://Assets/Theme.tres" id="10_dmxwi"]
2023-04-09 12:17:11 +00:00
[ext_resource type="PackedScene" path="res://Scenes/MusicPlayer.tscn" id="12_x3k6e"]
[node name="MainMenu" type="Node" node_paths=PackedStringArray("button_to_focus_on_start")]
script = ExtResource("1_0vcve")
button_to_focus_on_start = 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("4_8qs7j")
[node name="Egg3" type="Sprite2D" parent="Decorations/Left Decor"]
position = Vector2(134, 477)
scale = Vector2(4.6875, 4.625)
texture = ExtResource("5_1ocdn")
[node name="Jesus" type="Sprite2D" parent="Decorations/Left Decor"]
position = Vector2(220, 335)
scale = Vector2(7.0431, 6.97321)
texture = ExtResource("6_ag6vh")
[node name="Cake" type="Sprite2D" parent="Decorations/Left Decor"]
position = Vector2(310, 491)
scale = Vector2(2.59375, 2.32031)
texture = ExtResource("5_5gyoe")
[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("4_8qs7j")
[node name="Egg2" type="Sprite2D" parent="Decorations/Right Decor"]
position = Vector2(294, 487)
rotation = -1.5708
scale = Vector2(4.89203, 5.21732)
texture = ExtResource("8_cha7m")
[node name="Egg1" type="Sprite2D" parent="Decorations/Right Decor"]
position = Vector2(420.75, 471.25)
scale = Vector2(4.89062, 4.95313)
texture = ExtResource("9_ujgvg")
[node name="GoodBunny" type="Sprite2D" parent="Decorations/Right Decor"]
position = Vector2(331, 458.5)
scale = Vector2(7.14286, 7.02941)
texture = ExtResource("8_j5v2i")
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("10_dmxwi")
[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("1_croa2")
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("1_joe3h")
[node name="RightPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/PlayButton"]
visible = false
position = Vector2(650, 12)
rotation = -1.5708
texture = ExtResource("1_joe3h")
[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("1_croa2")
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("1_joe3h")
[node name="RightPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/SettingsButton"]
visible = false
position = Vector2(650, 12)
rotation = -1.5708
texture = ExtResource("1_joe3h")
[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("1_croa2")
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("1_joe3h")
[node name="RightPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/AboutButton"]
visible = false
position = Vector2(650, 12)
rotation = -1.5708
texture = ExtResource("1_joe3h")
[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("1_croa2")
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("1_joe3h")
[node name="RightPointer" type="Sprite2D" parent="MainVBox/ButtonsVbox/QuitButton"]
visible = false
position = Vector2(650, 12)
rotation = -1.5708
texture = ExtResource("1_joe3h")
[node name="MusicPlayer" parent="." instance=ExtResource("12_x3k6e")]
[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"]