Hello fellas,
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.
Cheers
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?
Develop games in your browser. Powerful, performant & highly capable.
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?
Yeps, your suggestions work well.