[gd_scene load_steps=59 format=3 uid="uid://b0nye2ck67wlf"]

[ext_resource type="Script" uid="uid://bol1byg2ibowb" path="res://scenes/5-e.gd" id="1_m3643"]
[ext_resource type="FontFile" uid="uid://bcf7oh6t3psng" path="res://assets/fonts/ADVERT_0.TTF" id="2_7b3js"]
[ext_resource type="Texture2D" uid="uid://b1jel6r3tp38o" path="res://assets/Backgrounds/backgroundEmpty.png" id="2_k6eyf"]
[ext_resource type="FontFile" uid="uid://btdabvm8q5yq1" path="res://assets/fonts/VT323-Regular.ttf" id="4_k6eyf"]
[ext_resource type="Texture2D" uid="uid://bkaaimliodtlk" path="res://assets/starSpin.png" id="5_1cg5h"]
[ext_resource type="Texture2D" uid="uid://ckpout5uu7604" path="res://assets/buttons/play_hover.png" id="7_3hoa0"]
[ext_resource type="Texture2D" uid="uid://c1e7833xecvp2" path="res://assets/buttons/play.png" id="7_4plmq"]
[ext_resource type="Texture2D" uid="uid://b285060mk1bhu" path="res://assets/buttons/play_selected.png" id="8_1cg5h"]
[ext_resource type="Texture2D" uid="uid://b1jbr8p3qheou" path="res://assets/buttons/menu.png" id="9_4b5al"]
[ext_resource type="Texture2D" uid="uid://cdy0o8n4fsg46" path="res://assets/buttons/menu_hover.png" id="10_1cg5h"]
[ext_resource type="Texture2D" uid="uid://csg5lf875jd0v" path="res://assets/buttons/menu_selected.png" id="10_oi55o"]
[ext_resource type="AudioStream" uid="uid://dom5x33m6nqul" path="res://assets/audio/ACatGame_star_collect.ogg" id="11_aqr3k"]
[ext_resource type="Texture2D" uid="uid://best8pucbcstg" path="res://assets/WhiteCatIdle.png" id="11_l7wyg"]
[ext_resource type="Texture2D" uid="uid://dg51p83v7as1i" path="res://assets/WhiteCatRun.png" id="12_6nyvn"]
[ext_resource type="AudioStream" uid="uid://dfh1ub2k27htr" path="res://assets/audio/ACatGame_Menu.mp3" id="15_oi55o"]

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_1eunw"]
texture = ExtResource("2_k6eyf")

[sub_resource type="AtlasTexture" id="AtlasTexture_5gm6c"]
atlas = ExtResource("5_1cg5h")
region = Rect2(0, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_3sxgq"]
atlas = ExtResource("5_1cg5h")
region = Rect2(96, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_6een8"]
atlas = ExtResource("5_1cg5h")
region = Rect2(192, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_r8jnd"]
atlas = ExtResource("5_1cg5h")
region = Rect2(288, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_auuxs"]
atlas = ExtResource("5_1cg5h")
region = Rect2(384, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_wnu8s"]
atlas = ExtResource("5_1cg5h")
region = Rect2(480, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_tdy4w"]
atlas = ExtResource("5_1cg5h")
region = Rect2(576, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_wakok"]
atlas = ExtResource("5_1cg5h")
region = Rect2(672, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_oj4s1"]
atlas = ExtResource("5_1cg5h")
region = Rect2(768, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_86cm0"]
atlas = ExtResource("5_1cg5h")
region = Rect2(864, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_e8wp4"]
atlas = ExtResource("5_1cg5h")
region = Rect2(960, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_x5dik"]
atlas = ExtResource("5_1cg5h")
region = Rect2(1056, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_4k6ij"]
atlas = ExtResource("5_1cg5h")
region = Rect2(1152, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_ya87j"]
atlas = ExtResource("5_1cg5h")
region = Rect2(1248, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_lj2a6"]
atlas = ExtResource("5_1cg5h")
region = Rect2(1344, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_gt727"]
atlas = ExtResource("5_1cg5h")
region = Rect2(1440, 0, 96, 96)

[sub_resource type="SpriteFrames" id="SpriteFrames_1jorq"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_5gm6c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3sxgq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6een8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r8jnd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_auuxs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wnu8s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tdy4w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wakok")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oj4s1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_86cm0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e8wp4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x5dik")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4k6ij")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ya87j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lj2a6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gt727")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_03mcx"]
size = Vector2(61.5, 57.5)

[sub_resource type="Theme" id="Theme_1eunw"]

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_aqr3k"]
texture = ExtResource("7_3hoa0")

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_l7wyg"]
texture = ExtResource("8_1cg5h")

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_4plmq"]
texture = ExtResource("7_4plmq")

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_3nyyv"]
texture = ExtResource("9_4b5al")

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_6nyvn"]
texture = ExtResource("10_oi55o")

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_4b5al"]
texture = ExtResource("10_1cg5h")

[sub_resource type="AtlasTexture" id="AtlasTexture_0u521"]
atlas = ExtResource("11_l7wyg")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_lifgm"]
atlas = ExtResource("11_l7wyg")
region = Rect2(0, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_21hvb"]
atlas = ExtResource("11_l7wyg")
region = Rect2(0, 64, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_gpym0"]
atlas = ExtResource("11_l7wyg")
region = Rect2(0, 96, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_xfd2n"]
atlas = ExtResource("11_l7wyg")
region = Rect2(0, 128, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_vcaqp"]
atlas = ExtResource("11_l7wyg")
region = Rect2(0, 160, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_v0wx4"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_828u6"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_qifc5"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 64, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_v2ts1"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 160, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_iwmwp"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_aeahq"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_ufa6i"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 64, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_je3he"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 96, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_q6owf"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 128, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_jgc46"]
atlas = ExtResource("12_6nyvn")
region = Rect2(0, 160, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_q1241"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_0u521")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lifgm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_21hvb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gpym0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xfd2n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vcaqp")
}],
"loop": true,
"name": &"idle",
"speed": 6.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_v0wx4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_828u6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qifc5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v2ts1")
}],
"loop": true,
"name": &"jump",
"speed": 12.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_iwmwp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aeahq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ufa6i")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_je3he")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q6owf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jgc46")
}],
"loop": true,
"name": &"running",
"speed": 12.0
}]

[node name="5-e" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_m3643")
metadata/_edit_lock_ = true

[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)
metadata/_edit_lock_ = true

[node name="SkyBk" type="Panel" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_1eunw")
metadata/_edit_lock_ = true

[node name="TotalText" type="Label" parent="."]
visible = false
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_top = -162.0
offset_bottom = -43.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
theme_override_fonts/font = ExtResource("2_7b3js")
theme_override_font_sizes/font_size = 48
text = "Total       Collected!"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_lock_ = true

[node name="ThankYou" type="Label" parent="."]
visible = false
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_top = 141.0
offset_bottom = 178.0
grow_horizontal = 2
theme_override_colors/font_color = Color(0.643137, 0.117647, 0.0862745, 1)
theme_override_fonts/font = ExtResource("4_k6eyf")
theme_override_font_sizes/font_size = 36
text = "Thank you for playing!"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_lock_ = true

[node name="CharacterBody2D_level2" type="Area2D" parent="."]
visible = false
z_index = 10
position = Vector2(587, 236)
scale = Vector2(0.75, 0.75)

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="CharacterBody2D_level2"]
unique_name_in_owner = true
sprite_frames = SubResource("SpriteFrames_1jorq")
autoplay = "default"
frame = 11
frame_progress = 0.842595
speed_scale = 2.0

[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D_level2"]
position = Vector2(0, -1)
shape = SubResource("RectangleShape2D_03mcx")

[node name="TotalDigits" type="Label" 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
offset_left = -55.5
offset_top = -57.0
offset_right = 55.5
offset_bottom = 57.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(55.5, 57)
theme_override_colors/font_color = Color(0.960784, 0.815686, 0.333333, 1)
theme_override_colors/font_shadow_color = Color(0.717647, 0.188235, 0.188235, 1)
theme_override_constants/shadow_offset_x = 5
theme_override_constants/shadow_offset_y = 5
theme_override_fonts/font = ExtResource("2_7b3js")
theme_override_font_sizes/font_size = 96
text = "000"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_lock_ = true

[node name="PlayAgain" type="Button" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.687
anchor_right = 0.5
anchor_bottom = 0.687
offset_left = -160.0
offset_top = -44.16
offset_right = 160.0
offset_bottom = 44.84
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.75, 0.75)
pivot_offset = Vector2(160, 44)
theme = SubResource("Theme_1eunw")
theme_override_styles/hover = SubResource("StyleBoxTexture_aqr3k")
theme_override_styles/pressed = SubResource("StyleBoxTexture_l7wyg")
theme_override_styles/normal = SubResource("StyleBoxTexture_4plmq")

[node name="BackToMenu" type="Button" parent="."]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.817
anchor_right = 0.5
anchor_bottom = 0.817
offset_left = -159.0
offset_top = -41.56
offset_right = 161.0
offset_bottom = 47.44
scale = Vector2(0.75, 0.75)
pivot_offset = Vector2(160, 45)
theme_override_styles/hover = SubResource("StyleBoxTexture_3nyyv")
theme_override_styles/pressed = SubResource("StyleBoxTexture_6nyvn")
theme_override_styles/normal = SubResource("StyleBoxTexture_4b5al")

[node name="star_pickup" type="AudioStreamPlayer" parent="."]
stream = ExtResource("11_aqr3k")
volume_db = -15.0

[node name="kitty_boo" type="CharacterBody2D" parent="."]
visible = false
z_index = 5
position = Vector2(28, 450)
scale = Vector2(1.5, 1.5)
collision_layer = 0
collision_mask = 0
slide_on_ceiling = false

[node name="Sprite2D" type="AnimatedSprite2D" parent="kitty_boo"]
texture_filter = 1
position = Vector2(396.667, -253.333)
scale = Vector2(4.5, 4.5)
sprite_frames = SubResource("SpriteFrames_q1241")
animation = &"running"
autoplay = "idle"

[node name="menu_music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("15_oi55o")
volume_db = -6.0
parameters/looping = true

[connection signal="pressed" from="PlayAgain" to="." method="_on_play_again_pressed"]
[connection signal="pressed" from="BackToMenu" to="." method="_on_back_to_menu_pressed"]
