fuzzyworld

godot-shooter / godot-4-testing / files / Explosion.gd

Branch godot-4-testing · default branch · all branches

Explosion.gd

Blame: the commit that last changed each line · file · history

11a2e1d9 2023-10-31 Pavel Safronov1extends GPUParticles2D
c6faad15 2023-10-31 Pavel Safronov2
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()