Table of ContentsConclusionThe Game Screen

Chapter 12. The Game

If you take the graphics, action, and world code you've developed so far, you have what seems to be most of the tools you need for your game. There's still something missing, though. For want of a better term, you can think of that something as the glue that turns a bunch of classes into the game.

In this chapter, you'll bring everything together by adding game state, persistence (save games), and the concept of the game's primary actorthe player's star fighter. By the time you're done, Star Assault will start looking like a real game.

    Table of ContentsConclusionThe Game Screen