Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
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"
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
Develop games in your browser. Powerful, performant & highly capable.
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!!