Added explosion on laser destroy
This commit is contained in:
8
Explosion.gd
Normal file
8
Explosion.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
extends AnimatedSprite2D
|
||||
|
||||
func _ready() -> void:
|
||||
play()
|
||||
|
||||
func _on_animation_finished() -> void:
|
||||
get_parent().remove_child(self)
|
||||
queue_free()
|
||||
Reference in New Issue
Block a user