256 lines
9.6 KiB
Plaintext
256 lines
9.6 KiB
Plaintext
[gd_scene format=3 uid="uid://bgt46l5p8qrwc"]
|
|
|
|
[ext_resource type="Script" uid="uid://dfv3cmvcskd6t" path="res://Scripts/Player.cs" id="1_gl6un"]
|
|
[ext_resource type="Texture2D" uid="uid://5ecdlqnn0u6g" path="res://Textures/Icons/Bird1.png" id="1_iukft"]
|
|
[ext_resource type="Script" uid="uid://bdwdadvx0axam" path="res://Scripts/Berries.cs" id="1_kldst"]
|
|
[ext_resource type="Script" uid="uid://drbmu7lilwrec" path="res://Scripts/ScoreText.cs" id="4_b2bpf"]
|
|
[ext_resource type="FontFile" uid="uid://dq7nkk7n7wrq4" path="res://Fonts/Lexend.ttf" id="4_kldst"]
|
|
[ext_resource type="AudioStream" uid="uid://7ahbsuq3jt4v" path="res://Audio/SFX/Jump.mp3" id="4_wxwew"]
|
|
[ext_resource type="AudioStream" uid="uid://cryo6mtltnnyk" path="res://Audio/Music/Game/PixelPeekerPolka.mp3" id="6_fgofq"]
|
|
[ext_resource type="AudioStream" uid="uid://btl7lrqmikaro" path="res://Audio/Music/Game/FluffingADuck.mp3" id="7_2irst"]
|
|
[ext_resource type="Script" uid="uid://c6eb8owotqy45" path="res://Scripts/Fps.cs" id="7_acvyw"]
|
|
[ext_resource type="AudioStream" uid="uid://js133askfgfd" path="res://Audio/Music/Game/AmazingPlan.mp3" id="8_3cx6b"]
|
|
[ext_resource type="Texture2D" uid="uid://dryavksejt84w" path="res://Textures/Buttons/Circle.svg" id="8_4q8tf"]
|
|
[ext_resource type="Texture2D" uid="uid://cdl6h5fqjke4f" path="res://Textures/Buttons/ArrowLeft.svg" id="8_alh3a"]
|
|
[ext_resource type="Texture2D" uid="uid://d2kxub8e1gl4x" path="res://Textures/Buttons/Pause.svg" id="9_tfod6"]
|
|
[ext_resource type="AudioStream" uid="uid://dnnjkxgsh0vf6" path="res://Audio/Music/Game/Hyperfun.mp3" id="9_wxwew"]
|
|
[ext_resource type="Texture2D" uid="uid://cud8l2dwwi6y4" path="res://Textures/Buttons/ArrowRight.svg" id="9_x3xnh"]
|
|
[ext_resource type="AudioStream" uid="uid://cds2k1ijtf5ol" path="res://Audio/Music/Game/QuirkyDog.mp3" id="10_acvyw"]
|
|
[ext_resource type="Texture2D" uid="uid://b54itl2db5w64" path="res://Textures/Buttons/CheveronUp.svg" id="11_8r6kd"]
|
|
[ext_resource type="AudioStream" uid="uid://em0ro3lwpp0a" path="res://Audio/Music/Game/Wallpaper.mp3" id="11_alh3a"]
|
|
[ext_resource type="AudioStream" uid="uid://c51he0x017y6d" path="res://Audio/Music/Game/WhoLikesToParty.mp3" id="12_4q8tf"]
|
|
[ext_resource type="AudioStream" uid="uid://g432tiqm4b41" path="res://Audio/Music/Game/LatinIndustries.mp3" id="13_x3xnh"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_j5yw3"]
|
|
radius = 117.004
|
|
|
|
[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_bf53h"]
|
|
fade_time = 0.0
|
|
stream_count = 8
|
|
stream_0 = ExtResource("6_fgofq")
|
|
stream_1 = ExtResource("7_2irst")
|
|
stream_2 = ExtResource("8_3cx6b")
|
|
stream_3 = ExtResource("9_wxwew")
|
|
stream_4 = ExtResource("10_acvyw")
|
|
stream_5 = ExtResource("11_alh3a")
|
|
stream_6 = ExtResource("12_4q8tf")
|
|
stream_7 = ExtResource("13_x3xnh")
|
|
|
|
[node name="Game" type="Node2D" unique_id=859033263]
|
|
|
|
[node name="Center" type="Node2D" parent="." unique_id=2117748061]
|
|
position = Vector2(960, 540)
|
|
|
|
[node name="Berries" type="Node2D" parent="." unique_id=1540125835]
|
|
position = Vector2(960, 0)
|
|
script = ExtResource("1_kldst")
|
|
|
|
[node name="Player" type="Node2D" parent="." unique_id=930665884]
|
|
position = Vector2(960, 978)
|
|
script = ExtResource("1_gl6un")
|
|
|
|
[node name="Texture" type="Sprite2D" parent="Player" unique_id=1806119991]
|
|
texture_filter = 3
|
|
scale = Vector2(1.675, 1.675)
|
|
texture = ExtResource("1_iukft")
|
|
|
|
[node name="Hitbox" type="Area2D" parent="Player" unique_id=325775908]
|
|
position = Vector2(-5, 23)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player/Hitbox" unique_id=1123246713]
|
|
shape = SubResource("CircleShape2D_j5yw3")
|
|
debug_color = Color(1, 1, 1, 0.188235)
|
|
|
|
[node name="JumpSoundPlayer" type="AudioStreamPlayer" parent="Player" unique_id=468694173]
|
|
stream = ExtResource("4_wxwew")
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=719018327]
|
|
|
|
[node name="ScoreText" type="Control" parent="CanvasLayer" unique_id=2115137187]
|
|
layout_mode = 3
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 40.0
|
|
grow_horizontal = 2
|
|
script = ExtResource("4_b2bpf")
|
|
|
|
[node name="ScoreLabel" type="Label" parent="CanvasLayer/ScoreText" unique_id=2145902877]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -536.0
|
|
offset_right = 1697.3333
|
|
offset_bottom = 308.0
|
|
grow_horizontal = 2
|
|
scale = Vector2(0.48, 0.48)
|
|
theme_override_fonts/font = ExtResource("4_kldst")
|
|
theme_override_font_sizes/font_size = 246
|
|
text = "Score: 0"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HighScoreLabel" type="Label" parent="CanvasLayer/ScoreText" unique_id=660941160]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -536.0
|
|
offset_top = 148.0
|
|
offset_right = 1697.3333
|
|
offset_bottom = 361.0
|
|
grow_horizontal = 2
|
|
scale = Vector2(0.48, 0.48)
|
|
theme_override_fonts/font = ExtResource("4_kldst")
|
|
theme_override_font_sizes/font_size = 156
|
|
text = "High Score: 0"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="EffectTimerLabel" type="Label" parent="CanvasLayer/ScoreText" unique_id=684343472]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -536.0
|
|
offset_top = 250.00002
|
|
offset_right = 1697.3333
|
|
offset_bottom = 463.0
|
|
grow_horizontal = 2
|
|
scale = Vector2(0.48, 0.48)
|
|
theme_override_fonts/font = ExtResource("4_kldst")
|
|
theme_override_font_sizes/font_size = 156
|
|
text = "{Effect} expires in: {Time}"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="FPS" type="Label" parent="CanvasLayer" unique_id=1751047754]
|
|
offset_left = 12.0
|
|
offset_right = 360.0
|
|
offset_bottom = 137.0
|
|
scale = Vector2(0.6, 0.6)
|
|
theme_override_fonts/font = ExtResource("4_kldst")
|
|
theme_override_font_sizes/font_size = 109
|
|
text = "FPS: {}"
|
|
script = ExtResource("7_acvyw")
|
|
|
|
[node name="MobileButtons" type="Control" parent="CanvasLayer" unique_id=2110753273]
|
|
visible = false
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 1920.0
|
|
offset_bottom = 1080.0
|
|
|
|
[node name="PauseButton" type="Button" parent="CanvasLayer/MobileButtons" unique_id=1375970461]
|
|
z_index = 10
|
|
layout_mode = 1
|
|
offset_left = 80.0
|
|
offset_top = 80.0
|
|
offset_right = 320.0002
|
|
offset_bottom = 320.0
|
|
icon_alignment = 1
|
|
expand_icon = true
|
|
|
|
[node name="Circle" type="Sprite2D" parent="CanvasLayer/MobileButtons/PauseButton" unique_id=32602554]
|
|
position = Vector2(120, 120)
|
|
scale = Vector2(0.35, 0.35)
|
|
texture = ExtResource("8_4q8tf")
|
|
|
|
[node name="Texture" type="Sprite2D" parent="CanvasLayer/MobileButtons/PauseButton" unique_id=23048453]
|
|
position = Vector2(120, 120)
|
|
scale = Vector2(0.2, 0.2)
|
|
texture = ExtResource("9_tfod6")
|
|
|
|
[node name="LeftMoveButton" type="Button" parent="CanvasLayer/MobileButtons" unique_id=1778119021]
|
|
z_index = 10
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 80.0
|
|
offset_top = -320.0
|
|
offset_right = 320.0002
|
|
offset_bottom = -80.0
|
|
grow_vertical = 0
|
|
icon_alignment = 1
|
|
expand_icon = true
|
|
|
|
[node name="Circle" type="Sprite2D" parent="CanvasLayer/MobileButtons/LeftMoveButton" unique_id=549488896]
|
|
position = Vector2(120, 120)
|
|
scale = Vector2(0.35, 0.35)
|
|
texture = ExtResource("8_4q8tf")
|
|
|
|
[node name="Texture" type="Sprite2D" parent="CanvasLayer/MobileButtons/LeftMoveButton" unique_id=934604812]
|
|
position = Vector2(120, 120)
|
|
scale = Vector2(0.2, 0.2)
|
|
texture = ExtResource("8_alh3a")
|
|
|
|
[node name="RightMoveButton" type="Button" parent="CanvasLayer/MobileButtons" unique_id=2046843618]
|
|
z_index = 10
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -320.0
|
|
offset_top = -320.0
|
|
offset_right = -80.0
|
|
offset_bottom = -80.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
icon_alignment = 1
|
|
expand_icon = true
|
|
|
|
[node name="Circle" type="Sprite2D" parent="CanvasLayer/MobileButtons/RightMoveButton" unique_id=838628165]
|
|
position = Vector2(120, 120)
|
|
scale = Vector2(0.35, 0.35)
|
|
texture = ExtResource("8_4q8tf")
|
|
|
|
[node name="Texture" type="Sprite2D" parent="CanvasLayer/MobileButtons/RightMoveButton" unique_id=1284265984]
|
|
position = Vector2(120, 120)
|
|
scale = Vector2(0.2, 0.2)
|
|
texture = ExtResource("9_x3xnh")
|
|
|
|
[node name="JumpMoveButton" type="Button" parent="CanvasLayer/MobileButtons" unique_id=139483553]
|
|
z_index = 10
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -320.0
|
|
offset_top = -560.0
|
|
offset_right = -80.0
|
|
offset_bottom = -320.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
icon_alignment = 1
|
|
expand_icon = true
|
|
|
|
[node name="Circle" type="Sprite2D" parent="CanvasLayer/MobileButtons/JumpMoveButton" unique_id=1010572167]
|
|
position = Vector2(120, 120)
|
|
scale = Vector2(0.35, 0.35)
|
|
texture = ExtResource("8_4q8tf")
|
|
|
|
[node name="Texture" type="Sprite2D" parent="CanvasLayer/MobileButtons/JumpMoveButton" unique_id=1571586741]
|
|
position = Vector2(120, 120)
|
|
scale = Vector2(0.2, 0.2)
|
|
texture = ExtResource("11_8r6kd")
|
|
|
|
[node name="MusicPlayer" type="AudioStreamPlayer" parent="." unique_id=1201627685]
|
|
stream = SubResource("AudioStreamPlaylist_bf53h")
|
|
autoplay = true
|
|
|
|
[connection signal="pressed" from="CanvasLayer/MobileButtons/PauseButton" to="Player" method="MobilePausePressed"]
|
|
[connection signal="button_down" from="CanvasLayer/MobileButtons/LeftMoveButton" to="Player" method="MobileLeftMoveDown"]
|
|
[connection signal="button_up" from="CanvasLayer/MobileButtons/LeftMoveButton" to="Player" method="MobileLeftMoveUp"]
|
|
[connection signal="button_down" from="CanvasLayer/MobileButtons/RightMoveButton" to="Player" method="MobileRightMoveDown"]
|
|
[connection signal="button_up" from="CanvasLayer/MobileButtons/RightMoveButton" to="Player" method="MobileRightMoveUp"]
|
|
[connection signal="button_down" from="CanvasLayer/MobileButtons/JumpMoveButton" to="Player" method="MobileJumpMoveDown"]
|
|
[connection signal="button_up" from="CanvasLayer/MobileButtons/JumpMoveButton" to="Player" method="MobileJumpMoveUp"]
|