Chapter 12. Handling the KeyboardWhat You Will LearnIn this lesson you willLearn how to handle keyboard input in DirectorLearn about primary event handlers and how to use themCreate and use a film loop to animate the player's shipEnable the player's ship to be navigated using the cursor keysLearn how to handle multiple key pressesCreate a sprite magazine to simulate a continuous stream of bullets Approximate TimeThis lesson should take you about 2 hours to complete.Lesson FilesMedia Files:primary_event.dirbullet.pngStarting Files:2d_game_start.dirkey_helper_start.dirCompleted Files:key_helper.dir2d_game.dirThis is the second lesson in the third project, an old-style 2D Space Shooter. In this lesson you will add the player's ship to the game and create the Lingo necessary to control it using the keyboard's cursor keys. A look at the completed game![]() |