Let's create an MPAGD game - Part 6 - Keyboard Controls
Updated: Oct 30, 2021
This shouldn't take long...
Click the buttons that you want to use in the game and once highlighted, hit the key that you want to use to control the players direction and fire etc.
In my game, we just want left, right, jump and fire so I only really need to set those keys, I'll leave the rest as they are.
Next, were going to need to write some code that will control how the player moves, in other words, what happens if you press the keys we've just set.
Fortunately, MPAGD can write some initial code for you. From the Tools menu select Script Generator...