Building iOS 5 Games: Controllers and Sprites
- Understanding Controllers
- Examining the Chapter 4 Project
- Drawing Sprites
- Putting Sprites in Action
- Wrapping Up
Beginning with this chapter, you’ll be dealing with a lot of code. Instead of writing the code from scratch, you can follow along with the completed code by downloading it from the book’s website, www.peachpit.com/iOSGames. While examining the code, it will be useful to identify the key sections and to understand their purpose.
Understanding Controllers
You learned a bit about controllers in the previous chapter. In Raiders, controllers are classes that manage the game flow, and are responsible for rendering scenes and managing sprite objects.