O'Reilly logo

Learn Unity 4 for iOS Game Development by Philip Chu

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

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