From 8fa547be1ca0a30ac817aeba11253c6255c5b7d4 Mon Sep 17 00:00:00 2001 From: Moe Poi ~ Date: Wed, 6 Dec 2023 11:57:28 +0700 Subject: [PATCH] Reduce the explosion animation time to 0.5 --- scripts/bullets/bullet.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bullets/bullet.gd b/scripts/bullets/bullet.gd index c4968a3..577f4d4 100644 --- a/scripts/bullets/bullet.gd +++ b/scripts/bullets/bullet.gd @@ -29,7 +29,7 @@ func _on_Bullet_body_entered(body): $AnimatedSprite2D.play("default") for enemy in enemies: enemy.hit(damage) - await get_tree().create_timer(1).timeout + await get_tree().create_timer(0.5).timeout elif slow_effect: body.get_parent().hit(damage) body.get_parent().slow()