O'Reilly logo

Building iOS 5 Games: Develop and Design by James Sugrue

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

8. Finishing Touches

You’ve turned Raiders into a functioning game. Players and enemies can be shot and destroyed in a burst of animated pixels, accompanied by a spot sound effect or two. But, at this point Raiders isn’t a finished game. Now, you’ll tweak and tidy your code, and by the end of the chapter, Raiders will be a complete, albeit very small, iOS game.

Building a Scoreboard

Scoring is an essential part of almost all games. The lure of achieving higher and higher points levels really gives a player “something to shoot for.” And nothing spurs that competitive spirit more effectively than a prominently placed scoreboard that tallies points as they are earned.

The Raiders scoreboard will be displayed along the top of the screen (Figure 8.1 ...

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