feat: add flashing on hit both on player and on the slime;

This commit is contained in:
2026-09-24 22:44:00 +02:00
parent aff5df529e
commit 9c294d1394
2 changed files with 14 additions and 3 deletions
+3 -3
View File
@@ -326,7 +326,7 @@ tracks/1/keys = {
[sub_resource type="Animation" id="Animation_jlvik"]
resource_name = "attack_left"
length = 0.19999999999999998
length = 0.2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
@@ -381,7 +381,7 @@ tracks/1/keys = {
[sub_resource type="Animation" id="Animation_0u5uq"]
resource_name = "attack_up"
length = 0.19999999999999998
length = 0.2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
@@ -423,7 +423,7 @@ script = ExtResource("1_a3d8c")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=721334358]
sprite_frames = SubResource("SpriteFrames_bqpwv")
animation = &"death"
animation = &"move_down"
autoplay = "move_down"
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=129222135]