Godot Version
4.3
Question
So i want to emit this particles every time the player collected a Coin-like-item. But is most likely that the player collected 5-10 Coins in a very short time period.
How to make it, so that the GPU Particles fires every time? My workout is dupilcate the Particles, but is there a better way then just duplicate is 5-6 times ?
And my code looks like this with on 2 duplications
func _call_berryscore_animation(quantity:int):
if $HUD/show_particles .emitting == false:
$HUD/show_particles.amount = quantity
$HUD/show_particles.emitting = true
else:
$HUD/show_particles2.amount = quantity
$HUD/show_particles2.emitting = true
Any Advice is appreciated