Advertisement

Advanced Object and Character Control

Abstract

In this final chapter of the book, I’ll show you a wide variety of useful techniques you’ll need to know to get started on your own professional-level game design projects:
  • Dragging and dropping objects with the mouse

  • Using easing for smooth motion

  • Controlling game characters with the mouse

  • Moving objects in the direction of their rotation

  • Firing bullets in all directions

  • Using dynamic filters

  • Making objects with the switch statement and the simple factory system

  • Learning basic enemy artificial intelligence (Al): following, running away, and firing bullets in the direction of the player

  • Using a timer

  • Using keyboard-driven spaceship and mouse-driven platform game controls

  • Dispatching events

Keywords

Collision Detection Document Class Game Design Constructor Method Event Handler 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Rex van der Spuy 2009

Personalised recommendations