Hey there, Im doing a title menu screen, with a cursor (set position) to choose from 3 different languages. Now i can get it to work fine, but only in one direction, with pressing down. What would be a logical way to make the cursor move up in the menu, when i press arrow key up or "w"?
So if you move up from the first selection, it should jump to the lowest selection.
Well if you want to use similar events it would be subtract instead of add and when selected = 0 set selected to 3
Develop games in your browser. Powerful, performant & highly capable.
Thank you LittleStain, tried it with subtract before, but got it wrong first! Now with your method it works. Thanks!