1 2 3 4 5 6 7 8 9 10 11 12 13
extends Area2D class_name Explosion func _ready(): add_to_group("explosions") $AnimatedSprite2D.play() func _on_AnimatedSprite_animation_finished(): queue_free()