Game Development Reference
In-Depth Information
Controlling a sprite with the keyboard
Let's add some game logic to the game. Double-click on the screen in the first layout and
add the keyboard and mouse objects, as shown in the following screenshot. This allows us
to use the Keyboard and the Mouse in our game.
Let's set up the game logic:
Search WWH ::




Custom Search