Chapter     14

Game Center: Leaderboards and Achievements

Now that we have a playable iOS game, it’s time to add some bells and whistles. We’ll start with one of the hot trends, social gaming, which, at the minimum, involves collecting high scores onto a global leaderboard and rewarding players with achievements.

Lucky for us, Unity provides a script interface to Apple’s Game Center social gaming platform. As an iOS user, you’ve most likely played many games that submit scores and achievements to Game Center, and maybe you’ve used the Game Center app included with iOS to view game recommendations, to “friend” other players, or to issue challenges to those friends. We’ll add Fugu Bowl to the ranks of those games by registering a Game Center leaderboard ...

Get Learn Unity 4 for iOS Game Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.