Reduce the explosion animation time to 0.5
This commit is contained in:
parent
d6d1c66eb6
commit
8fa547be1c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ func _on_Bullet_body_entered(body):
|
||||||
$AnimatedSprite2D.play("default")
|
$AnimatedSprite2D.play("default")
|
||||||
for enemy in enemies:
|
for enemy in enemies:
|
||||||
enemy.hit(damage)
|
enemy.hit(damage)
|
||||||
await get_tree().create_timer(1).timeout
|
await get_tree().create_timer(0.5).timeout
|
||||||
elif slow_effect:
|
elif slow_effect:
|
||||||
body.get_parent().hit(damage)
|
body.get_parent().hit(damage)
|
||||||
body.get_parent().slow()
|
body.get_parent().slow()
|
||||||
|
|
Loading…
Reference in a new issue