Chapter 13. Integrating with Game Center
Apple provides an online social gaming network called Game Center. Your players can share high scores, track achievements, challenge friends, and start matchmaking for multiplayer games with Game Center. In this chapter, we will use Apple's iTunes Connect website to register our app with Apple. Then, we can integrate with Game Center to add leaderboards and achievements in our game.
You will need an active Apple developer account (which costs $99 per year) to register your app with Apple, access the iTunes Connect website with Game Center, and publish your game to the App Store.
The topics in this chapter include the following:
- Authenticating the player's Game Center account
- Opening Game Center in our game
- Updating the leaderboard from the code
- Adding an achievement
- Updating achievements from the code