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
Our educational partners
Free education resources to use in the classroom
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
Of course it is easily doable with the "while loop + variable", but
right now it's not possible to iterate a "for loop" in the reversed order (like from 10 to 1). Could this feature be implemented? It would be also helpful to define an iteration step (like 3 instead of 1 ) with a variable value.
Couldn't you just alter the loopindex where it's needed?
loopindex*3 to change step to 3
and 10-loopindex to go from 10 to 1?
Thanks man, you opened my eyes at LOOPINDEX - never considered it from this perspective.
But in spite of this good solution, it still would be great to have this options in the for loop - I think logic will be less error-prone.
It could be useful, yeah.. after all, it does let you set the start number which saves you from doing number+loopindex.. so why not more options?
Have you worked out what you needed, or still getting an error?
Develop games in your browser. Powerful, performant & highly capable.
Yeps, your suggestions work well.