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
Upload and play games from the Construct community
Game development stories & opinions
I am trying to set my sprite to a random but predetermined number of frames. For example, if I want my animation to randomly choose only frame 0,1,3,5 and 6. I am really not too sure how to write the syntax for this.
Develop games in your browser. Powerful, performant & highly capable.
You can use the choose() expression.
Ah thanks — I learned about choose early on from the tutorials, but never used it for a long time and I really had forgotten about it.