From 46556d864b9685c3b09a0038f5de83966fe7ff94 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 10 Aug 2023 11:48:05 +0200 Subject: Initial commit --- Scenes/Entities/Bombs/Explosion.gd | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Scenes/Entities/Bombs/Explosion.gd (limited to 'Scenes/Entities/Bombs/Explosion.gd') diff --git a/Scenes/Entities/Bombs/Explosion.gd b/Scenes/Entities/Bombs/Explosion.gd new file mode 100644 index 0000000..eba8b29 --- /dev/null +++ b/Scenes/Entities/Bombs/Explosion.gd @@ -0,0 +1,11 @@ +extends Area2D + + +func _ready(): + add_to_group("explosions") + + $AnimatedSprite2D.play() + + +func _on_AnimatedSprite_animation_finished(): + queue_free() -- cgit v1.2.3