Utilizing keycode as input parameter (and trigonometry), I am able to put 4 direction keystroke detection within single block of code
Keycode 37 = left arrow
Keycode 39 = right arrow
Keycode 40 = down arrow
Keycode 38 = up arrow
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.