Hi everyone,
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.
https://www.scirra.com/manual/126/system-expressions
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.