News
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.
There's support for movement keys (d-pad, WASD), start (enter), select (esc) and 8 action buttons for up to 4 players, though only the first player gets the mapping for keyboard out of the box. In ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results