Game Project: Space Hero
In this chapter, a high action, space shooter game will be built by using the same state machine built in Chapter 10. A few new game development techniques will be introduced as well, including object pooling, time-based animation, and pixel-perfect collision detection.
Space Hero is a space shooter game where the enemy ships fly down from the top of the screen and fires bullets at you, the hero. The hero ship also fires bullets, and it can maneuver around the screen using all direction keys on the keyboard. The features we want to accomplish in the development of Space Hero include the following: ...