Cow_Life_Sim_RPG/UI/MainMenu/MainMenu.tscn

249 lines
8.6 KiB
Plaintext

[gd_scene load_steps=22 format=3 uid="uid://dxpplnrcsyjgh"]
[ext_resource type="Texture2D" uid="uid://ba25fbsflxkft" path="res://Skills/Arson/FireAnim/Fire1.png" id="1_4ocpc"]
[ext_resource type="Script" path="res://UI/MainMenu/MainMenu.gd" id="1_h8q4o"]
[ext_resource type="Texture2D" uid="uid://bltlvad5kdk1y" path="res://Objects/Faire/FerrisWheel/Horizon.png" id="2_5fnse"]
[ext_resource type="Texture2D" uid="uid://dufwp4sp2kyuv" path="res://Skills/Arson/FireAnim/Fire2.png" id="2_85awq"]
[ext_resource type="Texture2D" uid="uid://b6a4awj22skbe" path="res://Skills/Arson/FireAnim/Fire3.png" id="3_caxwe"]
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="4_4a6ua"]
[ext_resource type="Texture2D" uid="uid://bryqti0obuaqw" path="res://Player/cow.png" id="5_uyk2m"]
[ext_resource type="Texture2D" uid="uid://dnmjxip5nsvj5" path="res://NPCs/Pigeon/Lesbian/lesbianpigeon1.png" id="8_r6286"]
[ext_resource type="Texture2D" uid="uid://bdp7fi33vu04n" path="res://NPCs/Pigeon/Genderfluid/genderfluidpigeon1.png" id="9_uqwjt"]
[ext_resource type="Texture2D" uid="uid://dhccv6ii4x7g4" path="res://NPCs/Pigeon/Ace/acepigeon1.png" id="10_6goq3"]
[ext_resource type="PackedScene" uid="uid://yxsmdsi4wcym" path="res://UI/MainMenu/SavesDisplayer.tscn" id="11_6gsgq"]
[ext_resource type="Theme" uid="uid://cbrsouaob5adl" path="res://UI/MainMenu/MainMenuButton.tres" id="11_ot6u3"]
[ext_resource type="Texture2D" uid="uid://1dt3kxxhyfmx" path="res://UI/MainMenu/SocialButtons/DiscordButton.png" id="13_1b52j"]
[ext_resource type="Texture2D" uid="uid://ddod3bdf7vyan" path="res://UI/MainMenu/SocialButtons/DiscordButtonHover.png" id="14_gec61"]
[ext_resource type="Texture2D" uid="uid://ds4bybu0xidnf" path="res://UI/MainMenu/SocialButtons/TwitchButton.png" id="15_r27uj"]
[ext_resource type="Texture2D" uid="uid://c28qbcevfclyf" path="res://UI/MainMenu/SocialButtons/TwitchButtonHover.png" id="16_ivwbn"]
[sub_resource type="SpriteFrames" id="SpriteFrames_ib660"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_4ocpc")
}, {
"duration": 1.0,
"texture": ExtResource("2_85awq")
}, {
"duration": 1.0,
"texture": ExtResource("3_caxwe")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_l5y6w"]
bg_color = Color(0.666667, 0.337255, 0.690196, 1)
border_width_left = 8
border_width_top = 8
border_width_right = 8
border_width_bottom = 8
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_syxs1"]
bg_color = Color(0.74902, 0.427451, 0.772549, 1)
border_width_left = 8
border_width_top = 8
border_width_right = 8
border_width_bottom = 8
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tp0n4"]
bg_color = Color(0.729412, 0.270588, 0.654902, 1)
border_width_left = 8
border_width_top = 8
border_width_right = 8
border_width_bottom = 8
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1vxv3"]
bg_color = Color(0.760784, 0.552941, 0.776471, 1)
border_width_left = 8
border_width_top = 8
border_width_right = 8
border_width_bottom = 8
border_color = Color(0.392157, 0.392157, 0.392157, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[node name="MainMenu" type="Node2D"]
script = ExtResource("1_h8q4o")
[node name="Decorations" type="Node2D" parent="."]
[node name="Horizon" type="Sprite2D" parent="Decorations"]
position = Vector2(445, 368)
scale = Vector2(0.5, 0.5)
texture = ExtResource("2_5fnse")
[node name="Fire" type="AnimatedSprite2D" parent="Decorations"]
position = Vector2(328, 550)
scale = Vector2(2.98889, 2.95556)
sprite_frames = SubResource("SpriteFrames_ib660")
script = ExtResource("4_4a6ua")
[node name="Fire2" type="AnimatedSprite2D" parent="Decorations"]
visible = false
position = Vector2(160, 464)
scale = Vector2(2.98889, 2.95556)
sprite_frames = SubResource("SpriteFrames_ib660")
script = ExtResource("4_4a6ua")
[node name="Cow" type="Sprite2D" parent="Decorations"]
position = Vector2(691, 568)
rotation = 0.106465
scale = Vector2(2.69309, 2.5642)
texture = ExtResource("5_uyk2m")
[node name="Lesbianpigeon2" type="Sprite2D" parent="Decorations"]
position = Vector2(764.25, 503.25)
scale = Vector2(1.695, 1.543)
texture = ExtResource("8_r6286")
[node name="Genderfluidpigeon1" type="Sprite2D" parent="Decorations"]
position = Vector2(66, 578)
texture = ExtResource("9_uqwjt")
flip_h = true
[node name="Progresspigeon1" type="Sprite2D" parent="Decorations"]
position = Vector2(497, 580)
texture = ExtResource("10_6goq3")
[node name="TitleLabel" type="Label" parent="."]
offset_right = 880.0
offset_bottom = 166.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 94
text = "Cow Life Sim RPG"
horizontal_alignment = 1
vertical_alignment = 1
[node name="VersionName" type="Label" parent="."]
offset_top = 129.0
offset_right = 879.0
offset_bottom = 181.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 35
text = "Launch Update!"
horizontal_alignment = 1
vertical_alignment = 1
[node name="SaveMenu" type="CanvasLayer" parent="."]
unique_name_in_owner = true
visible = false
[node name="SavesDisplayer" parent="SaveMenu" instance=ExtResource("11_6gsgq")]
unique_name_in_owner = true
offset_left = 24.0
offset_top = 202.0
offset_right = 531.0
offset_bottom = 568.0
[node name="Button" type="Button" parent="SaveMenu"]
offset_left = 648.0
offset_top = 350.0
offset_right = 820.0
offset_bottom = 417.0
focus_mode = 0
theme = ExtResource("11_ot6u3")
theme_override_font_sizes/font_size = 37
text = "Back"
[node name="DeleteSaves" type="Button" parent="SaveMenu"]
offset_left = 674.0
offset_top = 559.0
offset_right = 874.0
offset_bottom = 614.0
focus_mode = 0
theme = ExtResource("11_ot6u3")
theme_override_font_sizes/font_size = 26
text = "Toggle Delete"
[node name="InitialMenu" type="CanvasLayer" parent="."]
unique_name_in_owner = true
[node name="EnterButton" type="Button" parent="InitialMenu"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -245.0
offset_top = -94.0
offset_right = 243.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 0
theme = ExtResource("11_ot6u3")
theme_override_font_sizes/font_size = 48
theme_override_styles/normal = SubResource("StyleBoxFlat_l5y6w")
theme_override_styles/hover = SubResource("StyleBoxFlat_syxs1")
theme_override_styles/pressed = SubResource("StyleBoxFlat_tp0n4")
theme_override_styles/focus = SubResource("StyleBoxFlat_1vxv3")
text = "Start Your Cow Life"
[node name="QuitButton" type="Button" parent="InitialMenu"]
offset_left = 12.0
offset_top = 560.0
offset_right = 123.0
offset_bottom = 611.0
focus_mode = 0
theme = ExtResource("11_ot6u3")
theme_override_font_sizes/font_size = 23
text = "Quit"
[node name="DiscordButton" type="TextureButton" parent="InitialMenu"]
offset_left = 253.0
offset_top = 562.0
offset_right = 333.0
offset_bottom = 642.0
scale = Vector2(0.6, 0.6)
texture_normal = ExtResource("13_1b52j")
texture_pressed = ExtResource("13_1b52j")
texture_hover = ExtResource("14_gec61")
[node name="TwitchButton" type="TextureButton" parent="InitialMenu"]
offset_left = 312.0
offset_top = 562.0
offset_right = 392.0
offset_bottom = 642.0
scale = Vector2(0.6, 0.6)
texture_normal = ExtResource("15_r27uj")
texture_pressed = ExtResource("15_r27uj")
texture_hover = ExtResource("16_ivwbn")
[node name="MuteButton" type="Button" parent="InitialMenu"]
unique_name_in_owner = true
offset_left = 132.0
offset_top = 560.0
offset_right = 243.0
offset_bottom = 611.0
focus_mode = 0
theme = ExtResource("11_ot6u3")
theme_override_font_sizes/font_size = 23
text = "Mute"
[connection signal="pressed" from="SaveMenu/Button" to="." method="_on_save_back_button_pressed"]
[connection signal="pressed" from="SaveMenu/DeleteSaves" to="SaveMenu/SavesDisplayer" method="_on_delete_saves_pressed"]
[connection signal="pressed" from="InitialMenu/EnterButton" to="." method="_on_enter_button_pressed"]
[connection signal="pressed" from="InitialMenu/QuitButton" to="." method="_on_quit_button_pressed"]
[connection signal="pressed" from="InitialMenu/DiscordButton" to="." method="_on_discord_button_pressed"]
[connection signal="pressed" from="InitialMenu/TwitchButton" to="." method="_on_twitch_button_pressed"]
[connection signal="pressed" from="InitialMenu/MuteButton" to="." method="_on_mute_button_pressed"]