O'Reilly logo

iOS 6 Recipes: A Problem-Solution Approach by Shawn Grimes, Colin Francis, Hans-Eric Grönlund

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 Kit Recipes

Game Center is an iOS service that increases the “replay factor” of your games. It provides an easy way to implement features such as leaderboards, game achievements tracking and multiplayer gameplay, which can greatly enhance the social aspect of the games you make.

In this chapter, we’ll go through some of the basics of the Game Kit framework, which is what you use to make your games Game Center aware.

Recipe 14-1: Making Your App Game Center Aware

In this recipe you create a very simple game and connect it to Game Center. The game consists of four buttons. When the player taps a button, one of two things may happen: It’s either a “safe” button in which case the player’s score is increased by one and he or she ...

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