As said in the title I need to make a sequence that will make my global variable go from 1 to 2 to 3 and then loop back to 1 at a specific timer interval. There is no info online on such an easy sequence and I am totally stuck.
Thank you
Every x seconds set variable to (variable % 3) + 1.
Develop games in your browser. Powerful, performant & highly capable.
Thank you soo much )