Raise-Your-Wand/Scenes/UI/mainMenu.tscn
2024-05-10 13:33:08 -04:00

457 lines
16 KiB
Plaintext

[gd_scene load_steps=22 format=3 uid="uid://cme8avdi3w0sg"]
[ext_resource type="Texture2D" uid="uid://s86ux2sxmlff" path="res://Sprites/Backgrounds/Castle Pack by CaptainSkeleto/castle pack5.png" id="1_7mj66"]
[ext_resource type="FontFile" uid="uid://bhggfnolqg5hu" path="res://Fonts/breathe_fire/Breathe Fire.otf" id="2_0dtno"]
[ext_resource type="Script" path="res://Scripts/TitleScreen.gd" id="2_3k665"]
[ext_resource type="Texture2D" uid="uid://nnexhrn82ya1" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu/Menu (12).png" id="3_8i0th"]
[ext_resource type="Texture2D" uid="uid://cakcdmbrg18pl" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu/Menu (10).png" id="3_13m7d"]
[ext_resource type="Texture2D" uid="uid://bc2xelxdfct7m" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu_buttons/Menu_button (2).png" id="5_ugt05"]
[ext_resource type="Texture2D" uid="uid://cyf8re8ysh5yy" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu_buttons/Menu_button (19).png" id="6_y4hvi"]
[ext_resource type="PackedScene" uid="uid://c2tdawo5x8o16" path="res://Scenes/UI/ui_particles.tscn" id="7_cscky"]
[ext_resource type="Texture2D" uid="uid://blydsiai2vc7g" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu_buttons/Menu_button (15).png" id="7_l7447"]
[ext_resource type="Texture2D" uid="uid://cl0ommmgyxd6l" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu_buttons/Menu_button (32).png" id="8_pax86"]
[ext_resource type="Texture2D" uid="uid://c678lemibfpux" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu_buttons/Menu_button (7).png" id="9_pbom3"]
[ext_resource type="Texture2D" uid="uid://sx01p5y3lrwr" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu_buttons/Menu_button (24).png" id="10_vqgbn"]
[ext_resource type="Texture2D" uid="uid://by5jvj8x2d776" path="res://Sprites/UI/Edinnu_UI_asset_pack/Dialogue_plates/Plate (44).png" id="14_sxjd6"]
[sub_resource type="GDScript" id="GDScript_felhp"]
script/source = "extends Control
@export var test: int
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta) -> void:
pass
"
[sub_resource type="Curve" id="Curve_4skk8"]
_data = [Vector2(0, 0), 0.0, 3.2967, 0, 0, Vector2(0.226667, 1), -0.400951, -0.400951, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="CurveTexture" id="CurveTexture_ss1xk"]
curve = SubResource("Curve_4skk8")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_flsys"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(1, 1, 1)
gravity = Vector3(0, 0, 0)
linear_accel_min = 100.0
linear_accel_max = 100.0
scale_min = 0.5
scale_max = 0.75
scale_curve = SubResource("CurveTexture_ss1xk")
anim_speed_min = 1.0
anim_speed_max = 1.0
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_gig2t"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(1, 1, 1)
gravity = Vector3(0, 0, 0)
linear_accel_min = 100.0
linear_accel_max = 100.0
scale_min = 0.5
scale_max = 0.75
scale_curve = SubResource("CurveTexture_ss1xk")
anim_speed_min = 1.0
anim_speed_max = 1.0
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_qfys1"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(1, 1, 1)
gravity = Vector3(0, 0, 0)
linear_accel_min = 100.0
linear_accel_max = 100.0
scale_min = 0.5
scale_max = 0.75
scale_curve = SubResource("CurveTexture_ss1xk")
anim_speed_min = 1.0
anim_speed_max = 1.0
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_1gsvf"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(1, 1, 1)
gravity = Vector3(0, 0, 0)
linear_accel_min = 100.0
linear_accel_max = 100.0
scale_min = 0.5
scale_max = 0.75
scale_curve = SubResource("CurveTexture_ss1xk")
anim_speed_min = 1.0
anim_speed_max = 1.0
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_y8xc4"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(1, 1, 1)
gravity = Vector3(0, 0, 0)
linear_accel_min = 100.0
linear_accel_max = 100.0
scale_min = 0.5
scale_max = 0.75
scale_curve = SubResource("CurveTexture_ss1xk")
anim_speed_min = 1.0
anim_speed_max = 1.0
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Background" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_7mj66")
expand_mode = 2
stretch_mode = 6
[node name="TitleScreen" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_3k665")
[node name="Title" type="Control" parent="TitleScreen"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
grow_horizontal = 2
[node name="Your" type="RichTextLabel" parent="TitleScreen/Title"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -42.0
offset_top = 64.0
offset_right = 334.0
offset_bottom = 264.0
grow_horizontal = 2
scale = Vector2(0.5, 0.5)
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_colors/font_shadow_color = Color(0.847059, 0.341176, 0.423529, 0.956863)
theme_override_constants/shadow_outline_size = 5
theme_override_fonts/normal_font = ExtResource("2_0dtno")
theme_override_font_sizes/normal_font_size = 190
text = "Your"
script = SubResource("GDScript_felhp")
[node name="Raise" type="RichTextLabel" parent="TitleScreen/Title"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -147.0
offset_right = 265.0
offset_bottom = 218.0
grow_horizontal = 2
scale = Vector2(0.5, 0.5)
size_flags_horizontal = 4
size_flags_vertical = 0
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_colors/font_shadow_color = Color(0.847059, 0.341176, 0.423529, 0.956863)
theme_override_constants/shadow_outline_size = 5
theme_override_fonts/normal_font = ExtResource("2_0dtno")
theme_override_font_sizes/normal_font_size = 200
text = "Raise"
script = SubResource("GDScript_felhp")
[node name="Wand" type="RichTextLabel" parent="TitleScreen/Title"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -137.0
offset_top = 104.0
offset_right = 423.0
offset_bottom = 390.0
grow_horizontal = 2
scale = Vector2(0.5, 0.5)
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_colors/font_shadow_color = Color(0.847059, 0.341176, 0.423529, 0.956863)
theme_override_constants/shadow_outline_size = 5
theme_override_fonts/normal_font = ExtResource("2_0dtno")
theme_override_font_sizes/normal_font_size = 270
text = "Wand"
[node name="Disclaimer" type="RichTextLabel" parent="TitleScreen/Title"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -73.0
offset_top = 216.0
offset_right = 702.0
offset_bottom = 359.0
grow_horizontal = 2
scale = Vector2(0.2, 0.2)
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_colors/font_shadow_color = Color(0.847059, 0.341176, 0.423529, 0.956863)
theme_override_constants/shadow_outline_size = 5
theme_override_fonts/normal_font = ExtResource("2_0dtno")
theme_override_font_sizes/normal_font_size = 100
text = "*Wands not included"
[node name="Buttons" type="Control" parent="TitleScreen"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Play" type="TextureButton" parent="TitleScreen/Buttons"]
modulate = Color(1, 0.972549, 0.811765, 1)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -51.0
offset_top = -20.0
offset_right = 51.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(2, 2)
pivot_offset = Vector2(51, 20)
texture_normal = ExtResource("3_13m7d")
texture_pressed = ExtResource("3_8i0th")
[node name="RichTextLabel" type="RichTextLabel" parent="TitleScreen/Buttons/Play"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -12.0
offset_top = -4.0
offset_right = 70.0
offset_bottom = 36.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.3, 0.3)
pivot_offset = Vector2(50.8333, 20)
mouse_filter = 2
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_fonts/normal_font = ExtResource("2_0dtno")
theme_override_font_sizes/normal_font_size = 69
bbcode_enabled = true
text = "[center]Play[/center]"
[node name="UIParticles" parent="TitleScreen/Buttons/Play" instance=ExtResource("7_cscky")]
position = Vector2(50, 20)
process_material = SubResource("ParticleProcessMaterial_flsys")
size = Vector3(50, 10, 0.1)
[node name="Credits" type="TextureButton" parent="TitleScreen/Buttons"]
modulate = Color(1, 0.972549, 0.811765, 1)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -51.0
offset_top = 69.0
offset_right = 51.0
offset_bottom = 109.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(2, 2)
pivot_offset = Vector2(51, 20)
texture_normal = ExtResource("3_13m7d")
texture_pressed = ExtResource("3_8i0th")
[node name="RichTextLabel" type="RichTextLabel" parent="TitleScreen/Buttons/Credits"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -25.0
offset_top = -6.5
offset_right = 145.0
offset_bottom = 33.5
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.3, 0.3)
pivot_offset = Vector2(50.8333, 20)
mouse_filter = 2
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_fonts/normal_font = ExtResource("2_0dtno")
theme_override_font_sizes/normal_font_size = 69
bbcode_enabled = true
text = "[center]Credits[/center]"
[node name="UIParticles" parent="TitleScreen/Buttons/Credits" instance=ExtResource("7_cscky")]
position = Vector2(50, 20)
process_material = SubResource("ParticleProcessMaterial_gig2t")
size = Vector3(50, 10, 0.1)
[node name="Settings" type="TextureButton" parent="TitleScreen/Buttons"]
modulate = Color(1, 0.972549, 0.811765, 1)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -63.0
offset_top = 145.0
offset_right = -33.0
offset_bottom = 179.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(2, 2)
pivot_offset = Vector2(14.5, 14.5)
texture_normal = ExtResource("5_ugt05")
texture_pressed = ExtResource("6_y4hvi")
[node name="UIParticles" parent="TitleScreen/Buttons/Settings" instance=ExtResource("7_cscky")]
position = Vector2(14.75, 15.25)
process_material = SubResource("ParticleProcessMaterial_qfys1")
size = Vector3(10, 10, 0.1)
[node name="Quit" type="TextureButton" parent="TitleScreen/Buttons"]
modulate = Color(1, 0.972549, 0.811765, 1)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 32.0
offset_top = 145.0
offset_right = 62.0
offset_bottom = 179.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(2, 2)
pivot_offset = Vector2(14.5, 14.5)
texture_normal = ExtResource("7_l7447")
texture_pressed = ExtResource("8_pax86")
[node name="UIParticles" parent="TitleScreen/Buttons/Quit" instance=ExtResource("7_cscky")]
position = Vector2(14.75, 15.25)
process_material = SubResource("ParticleProcessMaterial_1gsvf")
size = Vector3(10, 10, 0.1)
[node name="About" type="TextureButton" parent="TitleScreen/Buttons"]
modulate = Color(1, 0.972549, 0.811765, 1)
layout_mode = 1
offset_top = 12.0
offset_right = 30.0
offset_bottom = 46.0
scale = Vector2(2, 2)
texture_normal = ExtResource("9_pbom3")
texture_pressed = ExtResource("10_vqgbn")
[node name="UIParticles" parent="TitleScreen/Buttons/About" instance=ExtResource("7_cscky")]
position = Vector2(14, 15)
process_material = SubResource("ParticleProcessMaterial_y8xc4")
size = Vector3(10, 10, 0.1)
[node name="Settings" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
[node name="NinePatchRect" type="NinePatchRect" parent="Settings"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -65.5
offset_top = -49.5
offset_right = 65.5
offset_bottom = 49.5
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(5, 5)
pivot_offset = Vector2(65.5, 51.42)
texture = ExtResource("14_sxjd6")
patch_margin_left = 8
patch_margin_top = 9
patch_margin_right = 8
patch_margin_bottom = 6
[node name="ScrollContainer" type="ScrollContainer" parent="Settings/NinePatchRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = 9.0
offset_right = -8.0
offset_bottom = -6.0
grow_horizontal = 2
grow_vertical = 2
follow_focus = true
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="Settings/NinePatchRect/ScrollContainer"]
custom_minimum_size = Vector2(100, 20)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
[node name="RichTextLabel" type="RichTextLabel" parent="Settings/NinePatchRect/ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
theme_override_fonts/normal_font = ExtResource("2_0dtno")
theme_override_font_sizes/normal_font_size = 20
text = "Settings"
[node name="RichTextLabel2" type="RichTextLabel" parent="Settings/NinePatchRect/ScrollContainer/VBoxContainer"]
layout_mode = 2
text = "aaaa"
[node name="RichTextLabel3" type="RichTextLabel" parent="Settings/NinePatchRect/ScrollContainer/VBoxContainer"]
layout_mode = 2
text = "eeeeeeeeeeee"
[node name="Credits" type="Node" parent="."]
[connection signal="mouse_entered" from="TitleScreen/Buttons/Play" to="TitleScreen/Buttons/Play/UIParticles" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="TitleScreen/Buttons/Play" to="TitleScreen/Buttons/Play/UIParticles" method="_on_mouse_exited"]
[connection signal="pressed" from="TitleScreen/Buttons/Play" to="TitleScreen" method="_on_play_pressed"]
[connection signal="mouse_entered" from="TitleScreen/Buttons/Credits" to="TitleScreen/Buttons/Credits/UIParticles" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="TitleScreen/Buttons/Credits" to="TitleScreen/Buttons/Credits/UIParticles" method="_on_mouse_exited"]
[connection signal="pressed" from="TitleScreen/Buttons/Credits" to="TitleScreen" method="_on_credits_pressed"]
[connection signal="mouse_entered" from="TitleScreen/Buttons/Settings" to="TitleScreen/Buttons/Settings/UIParticles" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="TitleScreen/Buttons/Settings" to="TitleScreen/Buttons/Settings/UIParticles" method="_on_mouse_exited"]
[connection signal="pressed" from="TitleScreen/Buttons/Settings" to="TitleScreen" method="_on_settings_pressed"]
[connection signal="mouse_entered" from="TitleScreen/Buttons/Quit" to="TitleScreen/Buttons/Quit/UIParticles" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="TitleScreen/Buttons/Quit" to="TitleScreen/Buttons/Quit/UIParticles" method="_on_mouse_exited"]
[connection signal="pressed" from="TitleScreen/Buttons/Quit" to="TitleScreen" method="_on_quit_pressed"]
[connection signal="mouse_entered" from="TitleScreen/Buttons/About" to="TitleScreen/Buttons/About/UIParticles" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="TitleScreen/Buttons/About" to="TitleScreen/Buttons/About/UIParticles" method="_on_mouse_exited"]
[connection signal="pressed" from="TitleScreen/Buttons/About" to="TitleScreen" method="_on_about_pressed"]