Fixed animation signals
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user