[gd_scene load_steps=7 format=3 uid="uid://cjhhhl1o37set"]

[ext_resource type="Script" path="res://Coleccionables/fruta.gd" id="1_1s31y"]
[ext_resource type="Texture2D" uid="uid://gih5ed42qg6a" path="res://Assets_PixelAdventure/Items/Fruits/Strawberry.png" id="1_t4kyj"]

[sub_resource type="Animation" id="Animation_7ebno"]
resource_name = "Nueva Animación"
length = 0.8
loop_mode = 1
step = 0.05
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16]
}

[sub_resource type="Animation" id="Animation_6rda8"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [1]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_pfgbd"]
_data = {
"Nueva Animación": SubResource("Animation_7ebno"),
"RESET": SubResource("Animation_6rda8")
}

[sub_resource type="CircleShape2D" id="CircleShape2D_7eiyg"]
radius = 10.198

[node name="fruta" type="Area2D"]
script = ExtResource("1_1s31y")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_t4kyj")
hframes = 17
frame = 1

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "Nueva Animación"
libraries = {
"": SubResource("AnimationLibrary_pfgbd")
}

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_7eiyg")

[connection signal="body_entered" from="." to="." method="_on_body_entered"]
