Game Development Reference
In-Depth Information
4. Before we move on, let's test the game. Press
F5
and run the game. Make sure
that the controls work. Once you are satisfied, go to the event sheet and add your
WASD controls.
5. Once you are in the event sheet, double-click on the background to add an event
and add a
Keyboard
event.
6. Once you are in the
Keyboard
event window, select
Key is down
.
7. Once you have selected
Key is down
, select
<click to choose>
in the
Paramet-
ers for Keyboard: Key is down
window:
8. Once you have selected
<click to choose>
, select the key you want. In this case,
it will be the
D
key: