O'Reilly logo

Beginning HTML5 Games with CreateJS by Brad Manderscheid

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 11

image

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

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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required