This mechanic shows how to implement movement in 2D for a user's character using a set of input keys. The code below is implemented using the WASD and arrow keys, common sets for many games. However, ...
I have a CODE v2B keyboard from WASD (tenkeyless -- the kind without the numpad). It's a nice keyboard, but has really limited programmability. WASD has released a newer CODE keyboard (the v3) with ...