fuzzyworld

godot-shooter / starfield-background / files / Explosion.gd

Branch starfield-background · default branch · all branches

Explosion.gd

164 B · history · blame

1extends Particles2D
2
3signal explosion_done
4
5func _ready() -> void:
6 one_shot = true
7
8func _on_Timer_timeout() -> void:
9 emit_signal("explosion_done")
10 queue_free()