[gd_scene format=3 uid="uid://c2j73aka5k1rl"]

[ext_resource type="Texture2D" uid="uid://c7hljsaa6ybgc" path="res://assets/Free/Main Characters/Appearing (96x96).png" id="1_mahm0"]
[ext_resource type="Script" uid="uid://bexm6ya6rtda3" path="res://escenas/characters/ninjacat.gd" id="1_qp17o"]
[ext_resource type="Texture2D" uid="uid://dmr66b6b6mqa3" path="res://assets/Free/Main Characters/Desappearing (96x96).png" id="2_qp17o"]
[ext_resource type="Texture2D" uid="uid://cdy0gjhptou4u" path="res://assets/Free/Main Characters/Pink Man/Double Jump (32x32).png" id="3_be3ik"]
[ext_resource type="Texture2D" uid="uid://i8wlbqqseper" path="res://assets/Free/Main Characters/Pink Man/Hit (32x32).png" id="4_6bn1y"]
[ext_resource type="Texture2D" uid="uid://bhkq0fcewfluq" path="res://assets/Free/Main Characters/Pink Man/Idle (32x32).png" id="5_1r64d"]
[ext_resource type="Texture2D" uid="uid://cn0obqqjbuiaj" path="res://assets/Free/Main Characters/Pink Man/Fall (32x32).png" id="6_q3g6m"]
[ext_resource type="Texture2D" uid="uid://b72fh12hoiew0" path="res://assets/Free/Main Characters/Pink Man/Jump (32x32).png" id="7_5jme2"]
[ext_resource type="Texture2D" uid="uid://bkdfxyyl20onc" path="res://assets/Free/Main Characters/Pink Man/Run (32x32).png" id="8_gp4q6"]
[ext_resource type="Texture2D" uid="uid://baufsvm0trc45" path="res://assets/Free/Main Characters/Pink Man/Wall Jump (32x32).png" id="9_2rfly"]
[ext_resource type="AudioStream" uid="uid://67dkd5lb4uk7" path="res://sonidos/cartoon-jump-6462.mp3" id="11_1r64d"]
[ext_resource type="AudioStream" uid="uid://dp80quqc6hveg" path="res://sonidos/squarebun-apple-bite-316785.mp3" id="12_5jme2"]
[ext_resource type="AudioStream" uid="uid://b7y3ddvmrsheh" path="res://sonidos/woo-hoo-82843.mp3" id="12_q3g6m"]
[ext_resource type="AudioStream" uid="uid://dft4uo5ghqc0l" path="res://sonidos/homemadeoof-47509.mp3" id="13_5jme2"]

[sub_resource type="AtlasTexture" id="AtlasTexture_qfeqe"]
atlas = ExtResource("1_mahm0")
region = Rect2(0, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_qgarh"]
atlas = ExtResource("1_mahm0")
region = Rect2(96, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_vj603"]
atlas = ExtResource("1_mahm0")
region = Rect2(192, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_h26oj"]
atlas = ExtResource("1_mahm0")
region = Rect2(288, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_qhq0q"]
atlas = ExtResource("1_mahm0")
region = Rect2(384, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_mq7lr"]
atlas = ExtResource("1_mahm0")
region = Rect2(480, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_ajnth"]
atlas = ExtResource("1_mahm0")
region = Rect2(576, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_0g1i7"]
atlas = ExtResource("2_qp17o")
region = Rect2(0, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_fs5gb"]
atlas = ExtResource("2_qp17o")
region = Rect2(96, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_oa4ry"]
atlas = ExtResource("2_qp17o")
region = Rect2(192, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_8x5gr"]
atlas = ExtResource("2_qp17o")
region = Rect2(288, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_ayqve"]
atlas = ExtResource("2_qp17o")
region = Rect2(384, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_slnlv"]
atlas = ExtResource("2_qp17o")
region = Rect2(480, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_rlk3q"]
atlas = ExtResource("2_qp17o")
region = Rect2(576, 0, 96, 96)

[sub_resource type="AtlasTexture" id="AtlasTexture_bwkkw"]
atlas = ExtResource("3_be3ik")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_u8wgh"]
atlas = ExtResource("3_be3ik")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_idhff"]
atlas = ExtResource("3_be3ik")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_wakxm"]
atlas = ExtResource("3_be3ik")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_hmyw5"]
atlas = ExtResource("3_be3ik")
region = Rect2(128, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_e5j0s"]
atlas = ExtResource("3_be3ik")
region = Rect2(160, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_qdfft"]
atlas = ExtResource("4_6bn1y")
region = Rect2(128, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_bxxmk"]
atlas = ExtResource("4_6bn1y")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_55xla"]
atlas = ExtResource("4_6bn1y")
region = Rect2(160, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_d0beb"]
atlas = ExtResource("4_6bn1y")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_q5sw5"]
atlas = ExtResource("4_6bn1y")
region = Rect2(192, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_usuk1"]
atlas = ExtResource("4_6bn1y")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_t583s"]
atlas = ExtResource("4_6bn1y")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_h6xun"]
atlas = ExtResource("5_1r64d")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_kbiys"]
atlas = ExtResource("5_1r64d")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_f2l6b"]
atlas = ExtResource("5_1r64d")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_mg0m8"]
atlas = ExtResource("5_1r64d")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_51ur8"]
atlas = ExtResource("5_1r64d")
region = Rect2(128, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_3oxv6"]
atlas = ExtResource("5_1r64d")
region = Rect2(160, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_j5vqa"]
atlas = ExtResource("5_1r64d")
region = Rect2(192, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_5b8rw"]
atlas = ExtResource("5_1r64d")
region = Rect2(224, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_yebea"]
atlas = ExtResource("5_1r64d")
region = Rect2(256, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_vawmn"]
atlas = ExtResource("5_1r64d")
region = Rect2(288, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_ae66x"]
atlas = ExtResource("5_1r64d")
region = Rect2(320, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_wvymp"]
atlas = ExtResource("6_q3g6m")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_mp2gx"]
atlas = ExtResource("7_5jme2")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_s666w"]
atlas = ExtResource("8_gp4q6")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_macys"]
atlas = ExtResource("8_gp4q6")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_yokbd"]
atlas = ExtResource("8_gp4q6")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_11151"]
atlas = ExtResource("8_gp4q6")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_ewoeo"]
atlas = ExtResource("8_gp4q6")
region = Rect2(128, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_eosli"]
atlas = ExtResource("8_gp4q6")
region = Rect2(160, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_qss2j"]
atlas = ExtResource("8_gp4q6")
region = Rect2(192, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_t18dq"]
atlas = ExtResource("8_gp4q6")
region = Rect2(224, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_a0qkn"]
atlas = ExtResource("8_gp4q6")
region = Rect2(256, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_3hrkq"]
atlas = ExtResource("8_gp4q6")
region = Rect2(288, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_5g3yd"]
atlas = ExtResource("8_gp4q6")
region = Rect2(320, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_q3glo"]
atlas = ExtResource("8_gp4q6")
region = Rect2(352, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_d54sd"]
atlas = ExtResource("9_2rfly")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_m3oa2"]
atlas = ExtResource("9_2rfly")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_vvagc"]
atlas = ExtResource("9_2rfly")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_0kajn"]
atlas = ExtResource("9_2rfly")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_fnj3g"]
atlas = ExtResource("9_2rfly")
region = Rect2(128, 0, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_2evan"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_qfeqe")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qgarh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vj603")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_h26oj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qhq0q")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mq7lr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ajnth")
}],
"loop": false,
"name": &"appear",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_0g1i7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fs5gb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oa4ry")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8x5gr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ayqve")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_slnlv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rlk3q")
}],
"loop": true,
"name": &"dissapear",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_bwkkw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u8wgh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_idhff")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wakxm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hmyw5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e5j0s")
}],
"loop": false,
"name": &"double_jump",
"speed": 20.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_qdfft")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bxxmk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_55xla")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d0beb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q5sw5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_usuk1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t583s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bxxmk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d0beb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_55xla")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bxxmk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qdfft")
}],
"loop": false,
"name": &"hit",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_h6xun")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kbiys")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f2l6b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mg0m8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_51ur8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3oxv6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j5vqa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5b8rw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yebea")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vawmn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ae66x")
}],
"loop": true,
"name": &"idle",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_wvymp")
}],
"loop": true,
"name": &"jump_down",
"speed": 7.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mp2gx")
}],
"loop": true,
"name": &"jump_up",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_s666w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_macys")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yokbd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_11151")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ewoeo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_eosli")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qss2j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t18dq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a0qkn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3hrkq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5g3yd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q3glo")
}],
"loop": true,
"name": &"run",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_d54sd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m3oa2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vvagc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0kajn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fnj3g")
}],
"loop": true,
"name": &"wall_jump",
"speed": 15.0
}]

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1r64d"]
radius = 12.0
height = 26.0

[node name="ninjacat" type="CharacterBody2D" unique_id=571372543]
scale = Vector2(2, 2)
collision_layer = 16
script = ExtResource("1_qp17o")

[node name="animaciones" type="AnimatedSprite2D" parent="." unique_id=1185125793]
position = Vector2(1, 2)
sprite_frames = SubResource("SpriteFrames_2evan")
animation = &"hit"

[node name="Camera2D" type="Camera2D" parent="." unique_id=365858939]
editor_draw_limits = true
editor_draw_drag_margin = true

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." unique_id=650736280]
polygon = PackedVector2Array(-4, 18, -3, 18, -2, 17, -1, 15, 5, 15, 5, 17, 6, 18, 7, 18, 9, 16, 9, 14, 11, 14, 12, 13, 12, 11, 10, 9, 12, 7, 12, -2, 11, -3, 11, -5, 9, -7, 6, -7, 4, -5, 4, -4, -1, -4, -3, -6, -6, -6, -8, -5, -8, -3, -9, -2, -9, 7, -7, 9, -9, 11, -9, 12, -8, 14, -6, 14, -6, 17, -5, 18)

[node name="coyote_timer" type="Timer" parent="." unique_id=1123746384]
wait_time = 0.5
one_shot = true

[node name="damage_detection" type="Area2D" parent="." unique_id=1315871953]
collision_layer = 16
collision_mask = 2

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="damage_detection" unique_id=202653912]
position = Vector2(-1, 7.5000005)
rotation = -1.5423768
scale = Vector2(0.9833839, 0.9996222)
polygon = PackedVector2Array(-10.716448, -1.2014828, -10.788689, -3.7014177, -5.29915, -7.357672, -1, -5.5, 1.5, -8, 10, -8, 13.5, -7, 14.5, -3.5, 12, -1, 11, 5.5, 14.941322, 6.587633, 14.50532, 9.101782, 12.5, 10.5, 11.034306, 12.201197, 0.3611989, 12.499675, -4.2129893, 12.627594, -5.2439237, 12.1560335, -9, 9.5, -9.5, 6.5, -8, 4.5, -7, 1)

[node name="audio_jump" type="AudioStreamPlayer2D" parent="." unique_id=1986470250]
stream = ExtResource("11_1r64d")

[node name="audiorecolectar" type="AudioStreamPlayer2D" parent="." unique_id=93683005]
stream = ExtResource("12_5jme2")

[node name="audioDamage" type="AudioStreamPlayer2D" parent="." unique_id=182838589]
stream = ExtResource("13_5jme2")

[node name="muerte" type="Area2D" parent="." unique_id=1567505663]
collision_layer = 16
collision_mask = 4

[node name="CollisionShape2D" type="CollisionShape2D" parent="muerte" unique_id=1813486545]
position = Vector2(1.5, 5.5)
shape = SubResource("CapsuleShape2D_1r64d")

[node name="audiodoblesalto" type="AudioStreamPlayer2D" parent="." unique_id=1699381390]
stream = ExtResource("12_q3g6m")

[connection signal="animation_finished" from="animaciones" to="." method="_on_animaciones_animation_finished"]
[connection signal="timeout" from="coyote_timer" to="." method="_on_coyote_timer_timeout"]
[connection signal="area_shape_entered" from="damage_detection" to="." method="_on_damage_detection_area_shape_entered"]
[connection signal="area_shape_entered" from="muerte" to="." method="_on_muerte_area_shape_entered"]
