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

[ext_resource type="Script" uid="uid://bder58kqk1c43" path="res://victima/victima.gd" id="1_fqurf"]
[ext_resource type="Texture2D" uid="uid://becewyaltxclc" path="res://victima/sprites_anim_victim.png" id="2_5f7vb"]
[ext_resource type="SpriteFrames" uid="uid://byc73ek654tni" path="res://victima/Anim/sprite_frames_sombra.tres" id="3_d4qjs"]
[ext_resource type="SpriteFrames" uid="uid://5r3s5l3u8rmi" path="res://victima/Anim/sprite_frames_fx.tres" id="4_mtcab"]
[ext_resource type="Texture2D" uid="uid://m8g1lcrgeb48" path="res://victima/sprites_fx_victim.png" id="5_2gufc"]
[ext_resource type="AnimationLibrary" uid="uid://7g85iun2b12o" path="res://victima/Anim/animaciones.res" id="6_w8ve4"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_gqmsw"]
size = Vector2(26, 10.5)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_rcfhd"]
size = Vector2(29, 26.25)

[node name="Victima" type="CharacterBody2D" unique_id=155044647]
y_sort_enabled = true
collision_mask = 2
script = ExtResource("1_fqurf")

[node name="sprites" type="Node2D" parent="." unique_id=1873053200]

[node name="body" type="Sprite2D" parent="sprites" unique_id=748136802]
texture = ExtResource("2_5f7vb")
centered = false
offset = Vector2(-39, -78)
hframes = 6
vframes = 5
frame = 2

[node name="sombra" type="AnimatedSprite2D" parent="sprites" unique_id=1379082582]
z_index = -1
sprite_frames = ExtResource("3_d4qjs")
autoplay = "default"
frame_progress = 0.514591

[node name="FX" type="AnimatedSprite2D" parent="sprites" unique_id=832038233]
visible = false
sprite_frames = ExtResource("4_mtcab")
animation = &"run"
autoplay = "fear"
centered = false
offset = Vector2(-23, -77)

[node name="FXplus" type="Sprite2D" parent="sprites" unique_id=810531252]
visible = false
texture = ExtResource("5_2gufc")
centered = false
offset = Vector2(-23, -77)
hframes = 17
frame = 1

[node name="animations" type="AnimationPlayer" parent="." unique_id=1497226667]
libraries/ = ExtResource("6_w8ve4")
autoplay = &"idle"

[node name="SFX" type="AudioStreamPlayer" parent="." unique_id=913206951]
bus = &"SFX"

[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=575416757]
position = Vector2(0, -5)
shape = SubResource("RectangleShape2D_gqmsw")

[node name="HitBoxVictima" type="Area2D" parent="." unique_id=1251675985]

[node name="CollisionShape2D" type="CollisionShape2D" parent="HitBoxVictima" unique_id=1672666055]
position = Vector2(-0.5, -12.875)
shape = SubResource("RectangleShape2D_rcfhd")
debug_color = Color(3.51354e-06, 0.639912, 0.362341, 0.419608)

[connection signal="area_entered" from="HitBoxVictima" to="." method="_on_area_2d_area_entered"]
