Minilop Retroware

MPAGD Beginners · Part 6 of 29

Let's create an MPAGD game - Part 6 - Keyboard Controls

22 November 2020

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.

Screenshot from the tutorial

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...

NEXT: Generating scripts

All MPAGD Beginners