Floppy_Bort/scenes/gui/startscreen/startscreen.tscn
megamichi 1bae9f78bd init
2025-02-11 19:47:33 +01:00

361 lines
10 KiB
Text

[gd_scene load_steps=14 format=3 uid="uid://c0mhbgge5ocss"]
[ext_resource type="Script" path="res://scenes/gui/startscreen/startscreen.gd" id="1_1ni70"]
[ext_resource type="PackedScene" uid="uid://pkc0xylwcsvx" path="res://scenes/background/background.tscn" id="1_wfe0h"]
[ext_resource type="Texture2D" uid="uid://chkpw3t1i4il1" path="res://icon.png" id="2_k1sxv"]
[ext_resource type="PackedScene" uid="uid://bo8pkjaj4tu44" path="res://scenes/pipe/pipe.tscn" id="2_nw6te"]
[ext_resource type="Texture2D" uid="uid://bmcn41xuywnm5" path="res://assets/images/pipe.png" id="2_x8auj"]
[ext_resource type="Texture2D" uid="uid://iuwyotlo7766" path="res://assets/images/gui/play.png" id="3_635x5"]
[ext_resource type="Script" path="res://scenes/gui/startscreen/easteregg.gd" id="3_cqlg8"]
[ext_resource type="Texture2D" uid="uid://c2ty5xty0mk3t" path="res://assets/images/clouds/w4.png" id="3_xla87"]
[ext_resource type="Texture2D" uid="uid://bgqpcw6t22djf" path="res://assets/images/gui/exit.png" id="4_dfy67"]
[ext_resource type="AudioStream" uid="uid://qjevjhqvykkg" path="res://assets/sounds/popcorn.wav" id="10_y6vx2"]
[sub_resource type="Gradient" id="Gradient_26v0n"]
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_gyy01"]
gradient = SubResource("Gradient_26v0n")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_1c6ff"]
particle_flag_disable_z = true
angle_min = 1.07288e-05
angle_max = 360.0
initial_velocity_max = 50.0
gravity = Vector3(0, 98, 0)
color_ramp = SubResource("GradientTexture1D_gyy01")
[node name="Startscreen" type="Control"]
layout_mode = 3
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
scale = Vector2(0.8, 0.8)
size_flags_vertical = 3
script = ExtResource("1_1ni70")
metadata/_edit_horizontal_guides_ = [700.0]
[node name="Background" parent="." instance=ExtResource("1_wfe0h")]
[node name="EASTEREGG" type="TextureButton" parent="."]
layout_direction = 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 = 252.5
offset_top = -221.25
offset_right = 454.5
offset_bottom = 4209.75
grow_horizontal = 2
grow_vertical = 2
rotation = 3.92699
texture_normal = ExtResource("2_x8auj")
texture_pressed = ExtResource("2_x8auj")
ignore_texture_size = true
stretch_mode = 4
script = ExtResource("3_cqlg8")
[node name="puff" type="GPUParticles2D" parent="EASTEREGG"]
z_index = -1
position = Vector2(112.253, 62.7565)
rotation = -1.57079
scale = Vector2(10, 10)
emitting = false
amount = 120
process_material = SubResource("ParticleProcessMaterial_1c6ff")
texture = ExtResource("3_xla87")
lifetime = 2.0
one_shot = true
[node name="pipes" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="pipe" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-136.25, 283.75)
scale = Vector2(2, 2)
move = false
[node name="pipe3" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-233.75, 240)
scale = Vector2(2, 2)
move = false
[node name="pipe4" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(581.25, 261.25)
scale = Vector2(3, 3)
move = false
[node name="pipe19" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(723.75, 160)
scale = Vector2(4, 4)
move = false
[node name="pipe5" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(475, 345)
scale = Vector2(2, 2)
move = false
[node name="pipe17" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(92.5, 311.25)
rotation = -0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe18" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(72.5, 428.75)
rotation = -0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe6" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-650, 232.5)
rotation = 0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe16" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-671.25, 106.25)
rotation = 0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe2" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-41.25, 327.5)
scale = Vector2(2, 2)
move = false
[node name="pipe7" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-455, -357.5)
rotation = 2.35619
scale = Vector2(2, 2)
move = false
[node name="pipe8" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-705, -117.5)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe9" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-228.75, -363.75)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe10" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-143.75, -308.75)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe11" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-52.5, -326.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe12" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(538.75, -350)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe13" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(627.5, -296.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe14" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(708.75, -195)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe20" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-988.75, 287.5)
scale = Vector2(2, 2)
move = false
[node name="pipe39" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1621.25, 152.5)
scale = Vector2(10, 10)
move = false
[node name="pipe21" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1082.5, -8.74998)
scale = Vector2(2, 2)
move = false
[node name="pipe22" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(2411.25, 162.5)
scale = Vector2(3, 3)
move = false
[node name="pipe23" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(965, -306.25)
scale = Vector2(4, 4)
move = false
[node name="pipe24" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(2590, 302.5)
scale = Vector2(2, 2)
move = false
[node name="pipe25" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(3177.5, 272.5)
rotation = -0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe26" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(2958.75, 243.75)
rotation = -0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe27" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-2161.25, -266.25)
rotation = 0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe28" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-2177.5, 220)
rotation = 0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe29" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-886.25, -172.5)
scale = Vector2(2, 2)
move = false
[node name="pipe30" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1726.25, -40)
rotation = 2.35619
scale = Vector2(2, 2)
move = false
[node name="pipe31" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1553.75, -221.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe32" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1435, -303.75)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe33" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1316.25, -118.75)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe34" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1203.75, -351.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe35" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(1687.5, -55)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe36" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(1423.75, -286.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe37" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(1557.5, 160)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe38" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(1107.5, 1040)
rotation = 3.92699
scale = Vector2(6, 6)
move = false
[node name="EASTEREGG3" type="TextureButton" parent="."]
layout_direction = 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 = -575.0
offset_top = 277.5
offset_right = -330.0
offset_bottom = 5277.5
grow_horizontal = 2
grow_vertical = 2
toggle_mode = true
texture_normal = ExtResource("2_x8auj")
texture_pressed = ExtResource("2_x8auj")
texture_disabled = ExtResource("2_k1sxv")
ignore_texture_size = true
stretch_mode = 4
[node name="GUI" type="HSplitContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -688.5
offset_top = -300.0
offset_right = 688.5
offset_bottom = 300.0
grow_horizontal = 2
grow_vertical = 2
dragger_visibility = 2
[node name="Logo" type="TextureRect" parent="GUI"]
layout_mode = 2
texture = ExtResource("2_k1sxv")
stretch_mode = 2
[node name="Buttons" type="VBoxContainer" parent="GUI"]
layout_mode = 2
[node name="Play" type="TextureButton" parent="GUI/Buttons"]
layout_mode = 2
texture_normal = ExtResource("3_635x5")
[node name="Exit" type="TextureButton" parent="GUI/Buttons"]
layout_mode = 2
texture_normal = ExtResource("4_dfy67")
[node name="music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("10_y6vx2")
autoplay = true
bus = &"Music"
playback_type = 1
[connection signal="pressed" from="EASTEREGG" to="EASTEREGG" method="_on_pressed"]
[connection signal="pressed" from="EASTEREGG3" to="EASTEREGG3" method="_on_pressed"]
[connection signal="pressed" from="GUI/Buttons/Play" to="." method="_on_play_pressed"]
[connection signal="pressed" from="GUI/Buttons/Exit" to="." method="_on_exit_pressed"]