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
Sprites have an expression AnimationFrameCount that returns the number of frames in a animation but is there an expression that gives the number of animations in a sprite ?
If it existed, why would you need that?
Actually I do. I have to cycle through theses animations to choose an random one and this info is needed for many other calculation in the game
I agree, expressions like Sprite.AnimationsCount and Sprite.AnimationName(index) would be quite useful.
Develop games in your browser. Powerful, performant & highly capable.
I needed that too, wanted to populate an Array with all Animation Names, now I have to hand code it. There are dozens of Animations..