Chapter 12. 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.
Tip
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:
- Registering an app with iTunes Connect
- Authenticating the player's Game Center account in our app
- Opening Game Center from the MenuScene class
- Adding a leaderboard
- Creating and awarding achievements