Show the Game Center Dashboard

You already know that Hog Dice doesn’t use the Game Center Access Point. However, players will still need a way to access the Game Center Dashboard because what’s the point of adding Game Center features if players can’t access them, right?

In Hog Dice, you’ll provide a way for players to access the dashboard, leaderboards, and achievements using the following three buttons:

images/AddingLeaderboardsAndAchievements/gc-buttons.png

These three buttons are the main access points into the Game Center. The first one is located in the lobby scene, while the other two are located in the game over scene.

Using the Game Center View Controller

The first step is to create another ...

Get Apple Game Frameworks and Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.