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 introduce 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.
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access