Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
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"
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
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!!