Hi I'm making a drawing program and I want to be able to draw with the arrow keys, which is basically moving the cursor with the keys. Any help would be appreciated
I'm sure you'll notice it is unbearably slow. One obvious trick would be to make x or y change by more than 1, but a different method would be to have the keyPresses set a flag to true (for example, a boolean named "upHeld"). Then in the draw loop, if the flag is set, have x or y move.