O'Reilly logo

Learn cocos2d 2: Game Development for iOS by Andreas Löw, 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. 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 ...

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