Added explosion on laser destroy

This commit is contained in:
2024-05-12 22:14:37 +01:00
parent 750f21bdac
commit 6b69380e85
10 changed files with 220 additions and 28 deletions

8
Explosion.gd Normal file
View File

@@ -0,0 +1,8 @@
extends AnimatedSprite2D
func _ready() -> void:
play()
func _on_animation_finished() -> void:
get_parent().remove_child(self)
queue_free()