Fixed animation signals

This commit is contained in:
2026-01-11 17:25:29 +03:00
parent 5314aac33a
commit ff31781087
4 changed files with 29 additions and 23 deletions
+4
View File
@@ -13,6 +13,7 @@ collision_mask = 113
script = ExtResource("1_xln5q")
[node name="AnimatedSprite2D" parent="." instance=ExtResource("2_n6ad3")]
animation = &"death"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 1)
@@ -34,3 +35,6 @@ one_shot = true
[node name="CoyoteTimeTimer" type="Timer" parent="."]
wait_time = 0.1
one_shot = true
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animation_finished"]
[connection signal="animation_looped" from="AnimatedSprite2D" to="." method="_on_animation_looped"]