O'Reilly logo

Learn iPhone and iPad cocos2d Game Development by Steffen Itterheim

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

Game Center is Apple's social network solution. It enables you to authenticate players, store their scores and display leaderboards, and track and display their achievement progress. Furthermore, players can invite friends to play or choose to quickly find a match to play a game with anyone.

In this chapter I'll not only introduce you to Game Center and the Game Kit API, but also the basics of online multiplayer programming, and of course, how to use Game Center together with cocos2d.

Since a lot of Apple's examples are intentionally incomplete, I'll be developing a GameKitHelper class in this chapter. This class will remove some of the complexities of Game Center programming from you. It will make it easier for you to use ...

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