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. Players can invite friends to play, or choose to quickly find a match and play a game with anyone.

This chapter introduces you not only to Game Center and the Game Kit API but also to the basics of online multiplayer programming and, of course, how to use Game Center together with cocos2d.

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

Get Learn cocos2d 2: Game Development for iOS now with O’Reilly online learning.

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