Hi! i wonder how do i count a sprite with a specific animation, for example:
for every Sprite playing "X" animation, add 100 to "X variable"
Develop games in your browser. Powerful, performant & highly capable.
Doesn't it work to do it like this? Everytime that animation ends for every copy of that sprite 100 gets added to points. By making it a trigger the points will only be added once everytime the trigger is triggered
Trigger....
System Pick all Sprite
Sprite is animation"X" playing......................Add Sprite.PickedCount*100 to variable X
korbaach, it works but its goes on an on, its creates a loop. there is a way just to make like 1 shot?
EDIT: i added "trigger once", it works now, thanks a lot guys!!