Files
Azzteroid/script/score_particles.gd
2025-09-08 21:58:22 +02:00

15 lines
211 B
GDScript

extends CPUParticles2D
@export var label := Label
var score := 0
func _ready() -> void:
emitting = true
label.text = "+" + str(score)
func _process(delta: float) -> void:
if not emitting:
queue_free()