Game Center

Game Center is Apple’s social gaming network. All of your metadata for Game Center functionality is set up and managed in iTunes Connect, allowing you to test your Game Center features before submitting your app to the App Store.

You use iTunes Connect to enable your app for Game Center testing, and set up your leaderboards and achievements. Then use the Game Kit framework in your app to add Game Center functionality. When you are ready to distribute your app, enable your specific app version for Game Center and submit it, along with any relevant leaderboards and achievements, to the App Store.

About Game Center

Game Center includes a centralized service, a framework called Game Kit, and an app called Game Center. The Game Center service provides game developers with a standard way to implement the following features:

The Process: How Your App Joins Game Center

In order for your app to join Game Center, you must:

Read Game Center Programming Guide for a complete description of Game Center data and for guidance on how to use the Game Kit framework in your code. Read App Distribution Guide to learn how to configure your App ID for Game Center.

Getting Started

To get started using Game Center, you navigate to your app’s Game Center page and then enable your app for Game Center.

Navigate to Your App’s Game Center Page

First, learn how to navigate to the Game Center page of your app because most of the controls you need to configure Game Center are accessible there. It is also useful to learn how to navigate to the detail page of an app version once your app ships.

bullet
To go to the Game Center page in iTunes Connect
  1. Log in to iTunes Connect using your Apple ID user name and password.

  2. Click Manage Your Applications.

    image: ../Art/gc_1_login.pngimage: ../Art/gc_1_login.png
  3. Click the app you want to manage.

  4. Click Manage Game Center.

    image: ../Art/Writers_Screenshot_Template.pngimage: ../Art/Writers_Screenshot_Template.png

Enable Your App for Game Center

You use iTunes Connect to configure Game Center features for your set of apps. The configuration metadata is grouped into objects with properties that you create and edit using iTunes Connect. Essentially, an app in iTunes Connect is a type of object and a Game Center enabled app has additional properties described in Table 14-1. Game Center enabled groups have leaderboards and achievements too. Property values you edit in iTunes Connect have precise definitions with some restrictions, so read the description carefully.

Table 14-1  Game Center App and Group Properties

Property

Description

leaderboards

A leaderboard displays the top scores of all Game Center users who play your app. You cannot remove a leaderboard that is live for any version of your app. Each app can have a maximum of 25 leaderboards. Leaderboards are optional.

achievements

An achievement is a distinction that a player earns for reaching a milestone, or performing an action, defined by your app. You cannot delete an achievement that is live for any version of your app. Achievements are optional.

In order to configure Game Center features, you first need to enable your app for Game Center.

bullet
To enable your app for Game Center
  1. Go to the Game Center page of your app.

  2. Click “Enable for Single Game.”

    image: ../Art/gc_single_or_group.png
  3. Click Disabled.

    The Disabled button toggles between Disabled and Enabled. To disable your app for Game Center testing, click Enabled. Once you disable, you will no longer see your app in the Game Center sandbox. You are only permitted to disable up until a version of your app goes live with Game Center.

    Enabling Game Center for testing unlocks the Game Center interface to allow you to set up your leaderboards and achievements.

    image: ../Art/gc_enable_gc.png

Up until a version of your app goes live, you can disable Game Center for all versions of your app.

bullet
To disable your app for Game Center
  1. Go to the Game Center page of your app.

  2. In the Game Center section, click Enabled.

Read “Groups” for how to create groups and enable Game Center for a group. Read “Distributing Game Center Apps” if you want to enable Game Center for a version of your app and submit new leaderboards or achievements with that version. You also select apps for multiplayer compatibility when you distribute Game Center apps.

Leaderboards

A leaderboard displays the top scores of users who play your app. You decide how to calculate the score for your app and report it using Game Kit APIs. Game Center manages the leaderboard for you and displays it to users. You can also combine existing leaderboards that take the players from multiple leaderboards and rank them together. Leaderboards are optional and can be created or edited when the status of your app is not In Review.

When you create a leaderboard, you’ll need to enter localization information. You add language support for each leaderboard and can specify custom score formats for each. For each leaderboard, you must add at least one language and provide a localized icon.

Refer to Table 14-2 and Table 14-3 when creating leaderboards. Refer to Table 14-4 for a description of the leaderboard’s status that appears in lists of leaderboards.

Table 14-2  Leaderboard Properties

Property

Description

Leaderboard Reference Name

An internal name that you must provide for each category. This is the name that you will use if you search for your leaderboard in iTunes Connect.

Leaderboard ID

A chosen alphanumeric identifier for your leaderboard. This ID is limited to 100 characters. Note that the leaderboard ID is equivalent to the “category” in Game Kit API. Your leaderboard ID is a permanent setting therefore cannot be edited at a later date.

Score Format Type

Choose the type of format in which you want scores for this app to be expressed in your leaderboard—for example, integer, elapsed time, or money.

Sort Order

Choose between “Low to High” or “High to Low” for the display of your leaderboard scores. Choose “Low to High” if you want lowest scores displayed first. Choose “High to Low” if you want highest scores displayed first.

Score Range

Define the score range using 64-bit signed integers. The values must be between the long min (-2^63) and long max (2^63 - 1). Any scores outside of this range will be deleted. Score range values are optional, but if they are added then both values must be set and they must not be equal. When first adding a score range, or when changing it in the future to a smaller range that will restrict data, all data outside of the range will be lost and can’t be recovered.

Table 14-3  Leaderboard Types

Type

Description

Single

A single leaderboard that is not combined with other leaderboards.

Combined

A leaderboard that combines and ranks together the players from multiple single leaderboards.

Attached

A single leaderboard that is combined with other leaderboards—the attached child of a combined leaderboard.

Table 14-4  Leaderboard Statuses

Status

Description

In Review

The leaderboard was submitted to Apple for review.

Live

The leaderboard was approved with the app.

Not Live

The leaderboard was previously Live for an app but has since been moved to a group and has not been approved for the group yet. Only applicable to group leaderboards.

Creating Single Leaderboards

A single leaderboard allows users to compare their high scores for your app with other players. You must create at least two single leaderboards before you can combine them. Refer to Table 14-2 when entering information about a leaderboard.

bullet
To add a single leaderboard
  1. Go to the Game Center page of your app.

  2. If necessary, click Disabled to enable Game Center.

    image: ../Art/gc_enabled.png
  3. In the Leaderboard section, click Add Leaderboard.

    image: ../Art/gc_add_leaderboard.png
  4. In the Single Leaderboard section, click Choose.

    image: ../Art/gc_choose_leaderboard_type.png
  5. Enter an internal name for the leaderboard in the Leaderboard Reference Name field.

    When you add language support, you’ll enter a localized name for the leaderboard that is displayed to users.

    image: ../Art/gc_create_leaderboard.png
  6. Enter an alphanumeric identifier for your leaderboard in the Leaderboard ID text field.

  7. Choose a format from the Score Format Type menu.

  8. Choose either “Low to High” or “High to Low” as the sort order for the scores.

  9. Optionally, enter a score range in the Score Range text fields.

  10. Add leaderboard languages as described in “Managing Leaderboard Languages.”

    image: ../Art/gc_leaderboard_local.png
  11. Click Save.

Managing Leaderboards

When you have multiple leaderboards, you can change the default leaderboard. The default leaderboard is the first leaderboard that the user sees on the device. The first single leaderboard you create is automatically set as the default leaderboard for your app.

bullet
To set the default leaderboard
  1. Go to the Game Center page of your app.

  2. Select the Default toggle button in the row of the leaderboard you want to be the default.

Depending on the state of your app, you may be limited on what leaderboard properties you can edit. Before you submit your app for review, you can change all leaderboard properties, but after you submit, most properties are not editable. Refer to “Appendix A: Game Center Info Table” for details on what properties are editable.

bullet
To edit a leaderboard
  1. Go to the Game Center page of your app.

  2. In the Leaderboard section, double-click the leaderboard you want to edit.

  3. Change leaderboard properties as described in Table 14-2 as needed.

    image: ../Art/gc_17_edit_leaderboard.pngimage: ../Art/gc_17_edit_leaderboard.png
  4. Click Save.

Leaderboards are presented to the user in the order they appear in Game Center on the group detail page. You can change the order of the leaderboards on the app’s Game Center page.

bullet
To reorder a leaderboard
  1. Go to the Game Center page of your app.

  2. In the Leaderboards section, drag the icon in the first column of the leaderboard you want to reorder to a new location in the table.

The status of a leaderboard is displayed in the rightmost column of the Leaderboards table. The possible status values are described in Table 14-4. If a Delete button appears in this column, the status is none of those values and the leaderboard can be deleted.

bullet
To delete a leaderboard
  1. Go to the Game Center page of your app.

  2. In the Leaderboards section and row of the leaderboard you want to remove, click Delete.

    The Delete button appears and is enabled only if you can delete the leaderboard.

  3. Click Delete in the dialog that appears.

Managing Leaderboard Languages

If your app ships to multiple countries, you should localize your leaderboard for all the regions you support. You must add support for at least one language to your leaderboard. Refer to Table 14-5 when entering leaderboard localization information.

Table 14-5  Leaderboard Language Properties

Property

Description

Language

This is the language in which your leaderboard will appear.

Name

Enter the reference name of your leaderboard in the language you have selected.

Score Format

This will determine how your scores are displayed on your leaderboard for the specified language. For example, if you app is scored with money, you may want to specify different types of money based on the language you select. This drop-down will be populated based on your Score Format Type.

Score Format Suffix (Singular)

This will be added to the end of scores, in the singular form, displayed on your leaderboard. This is optional, and is useful for clarifying the type of score your app uses. Examples include “point”, or “hit.”

Score Format Suffix (Plural)

This will be added to the end of scores, in the plural form, displayed on your leaderboard. This is optional, and is useful for clarifying the type of score your app uses. Examples include “points”, “coins”, or “hits.”

Image

A localized image that represents the leaderboard. The image must be a .jpeg, .jpg, .tif, .tiff, or .png file that is 512 x 512 or 1024 x 1024 pixels, at least 72 dpi, and in the RGB color space. This property is optional.

bullet
To add a leaderboard language
  1. In the Leaderboard Localization section of the Add Leaderboard page, click Add Language.

    image: ../Art/gc_leaderboard_local.png
  2. Select a language from the Language menu.

    image: ../Art/gc_10_add_language_form.pngimage: ../Art/gc_10_add_language_form.png
  3. Enter a localized reference name for the leaderboard in the Name field.

    For example, if you selected Finnish from the Language menu, enter the Finnish name for the leaderboard in the Name field.

  4. Select a localized score format from the Score Format menu.

  5. Optionally, enter a localized score suffix in the Score Format Suffix field.

    If you want a space to appear between the score and the suffix, enter a space followed by the suffix text.

  6. Click Choose File and select a localized image for the leaderboard.

  7. Click Save.

If the status of your app is not In Review, you can edit the properties of a leaderboard language. Refer to “Appendix A: Game Center Info Table” for which properties are editable when.

bullet
To edit a leaderboard language
  1. Go to the Game Center page of your app.

  2. In the Leaderboards section, select the leaderboard that you want to edit.

  3. In the Leaderboard Localization section, click the language that you want to edit.

  4. Modify the properties in the dialog that appears.

  5. Click Save.

  6. On the leaderboard edit page, click Save.

You can only delete a language if there are two or more languages listed in the Leaderboard Localization section of the leaderboard edit page.

bullet
To delete a leaderboard language
  1. Go to the Game Center page of your app.

  2. In the Leaderboards section, select the leaderboard that you want to edit.

  3. In the row of the language you want to remove, click Delete.

  4. Click Delete in the dialog that appears.

Combining Leaderboards

A combined leaderboard joins and ranks together the players from multiple single leaderboards. You must have at least two single leaderboards before you can create a combined leaderboard, and the leaderboards cannot be combined unless they have the same score format and sort order. Refer to Table 14-2 when entering information about a combined leaderboard.

bullet
To combine leaderboards
  1. Go to the Game Center page of your app.

  2. In the Leaderboard section, click Add Leaderboard.

  3. In the Combined Leaderboard section, click Choose.

    If the Choose button is disabled, you need to create at least two leaderboards before you can perform this operation, as described in “Managing Leaderboards.”

    image: ../Art/gc_choose_leaderboard.png
  4. In the Leaderboard Reference Name field, enter a reference name for the leaderboard.

    When you add language support, you’ll enter a localized name for the leaderboard that is displayed to users.

    image: ../Art/gc_create_combined_lb.png
  5. In the Leaderboard ID text field, enter an alphanumeric identifier for your leaderboard.

  6. In the Leaderboards section, select two or more leaderboards you want to combine.

    Only leaderboards with the same score format and sort order can be combined and appear in this list.

    image: ../Art/gc_combine_leadboards.png
  7. Add leaderboard languages as described in “Managing Leaderboard Languages.”

  8. Click Save.

Achievements

An achievement is a distinction that a user of your game earns for reaching a milestone or performing an action. You use iTunes Connect to enter the data Game Center needs to display achievements to users.

Managing Achievements

Adding achievements to your game is optional. The maximum number of achievements you can create is 100. Note that once an achievement is available to the user for any version of your app, it cannot be deleted. Refer to Table 14-6 when entering information about an achievement. Refer to Table 14-7 for the meaning of achievement statuses.

Table 14-6  Achievement Properties

Property

Description

Achievement Reference Name

An internal name that you must provide for each achievement. This is the name you will use if you search for the achievement within iTunes Connect.

Achievement ID

A chosen alphanumeric identifier for your Achievement. This ID is limited to 100 characters. Your Achievement ID is a permanent setting therefore cannot be edited at a later date.

Point Value

The points that your achievement is worth, There is a maximum of 100 points per achievement and a maximum of 1000 points total for all achievements.

Hidden

Achievements marked as Hidden will remain hidden on Game Center until a player has achieved them.

Achievable More Than Once

Indicates whether the user can earn the achievement multiple times.

Table 14-7  Achievement Statuses

Status

Description

In Review

The achievement was submitted to Apple for review.

Live

The achievement was approved with the app.

Not Live

The achievement was previously Live for an app but has since been moved to a group and has not been approved for the group yet. Only applicable to group achievements.

bullet
To add an achievement
  1. Go to the Game Center page of your app.

  2. In the Achievements section, click Add Achievement.

    image: ../Art/gc_add_achievement.png
  3. Enter an internal reference name for the achievement in the Achievement Reference Name field.

    image: ../Art/gc_achievement_details.pngimage: ../Art/gc_achievement_details.png
  4. Enter a unique identifier in the Achievement ID field.

    The identifier must be alphanumeric but can contain periods and underscores.

  5. Enter the amount of points the achievement is worth in the Point Value field.

    The remaining points are displayed below this field. The maximum number of points allowed for all achievements is 1000.

  6. Select Yes from the Hidden radio button if you want the achievement to be hidden until the user earns it; otherwise, select No.

  7. Select Yes from the Achievable More Than Once radio button if the user can earn the achievement multiple times; otherwise, select No.

  8. Add achievement languages as described in “Managing Achievement Languages.”

    image: ../Art/gc_achievement_local.png
  9. Click Save.

Depending on the state of your app, you may be limited on what achievement properties you can edit. Before you submit your app for review, you can change all achievement properties. After your app is submitted, you may be limited on what properties you can change. Refer to “Appendix A: Game Center Info Table” for details on what properties are editable.

bullet
To edit an achievement
  1. Go to the Game Center page of your app.

  2. In the Achievements section, click the achievement you want to edit (click anywhere in the row).

  3. Modify the properties in the dialog that appears.

  4. Click Save.

The order of the achievements determines the order in which they are presented to users. You can change the order on the app’s Game Center page.

bullet
To reorder an achievement
  1. Go to the Game Center page of your app.

  2. In the Achievements section, drag the icon in the first column of the achievement you want to move to a new location in the table.

The status of an achievement is displayed in the rightmost column of the Achievements table. The possible status values are described in Table 14-7. If a Delete button appears in this column, the status is none of those values and the achievement can be deleted.

bullet
To delete an achievement
  1. Go to the Game Center page of your app.

  2. In the Achievements section, click the Delete button in the row of the achievement you want to remove.

    The Delete button appears and is enabled only if you can delete the achievement.

  3. Click Delete in the dialog that appears.

Managing Achievement Languages

If your app ships to multiple countries, you should localize your achievements. You must add support for at least one language to your achievement. Refer to Table 14-8 when localizing an achievement.

Table 14-8  Achievement Language Properties

Property

Description

Language

The language in which you would like this achievement to appear.

Title

The localized title of this achievement as you would like it to appear in Game Center.

Pre-earned Description

The description of your achievement as it will appear to a Game Center user before they have earned it.

Earned Description

The description of your achievement as it will appear to a Game Center user after they have earned it.

Image

A localized image that represents the achievement. The image must be a .jpeg, .jpg, .tif, .tiff, or .png file that is 512 x 512 or 1024 x 1024 pixels, at least 72 dpi, and in the RGB color space. This property is required.

bullet
To add an achievement language
  1. In the Achievement Localization section of the Add Achievement page, click Add Language.

  2. Select a language from the Language menu.

    image: ../Art/gc_14_add_achievement_language.pngimage: ../Art/gc_14_add_achievement_language.png
  3. Enter a localized name for the achievement in the Title field.

  4. Enter a localized description of the achievement in the Pre-earned Description field.

  5. Enter a localized description of the achievement in the Earned Description field.

  6. Click Choose File and select a localized image for the achievement.

  7. Click Save.

If the status of your app is not In Review, you can edit the properties of an achievement language.

bullet
To edit an achievement language
  1. Go to the achievement edit page of the app.

  2. In the Leaderboard Localization section, click the language (click anywhere in the row).

  3. Modify the properties in the dialog that appears.

  4. Click Save.

You can only delete an achievement language if you have more than one.

bullet
To delete an achievement language
  1. Go to the achievement edit page of the app.

  2. In the language row, click Delete.

  3. Click Delete in the dialog that appears.

Groups

Game Center groups allow multiple apps to share leaderboards and achievements. There is no restriction on the type of apps that can belong to a group, but an app can only belong to one group. There is no limit on the number of groups or the number of apps that can belong to a group. For example, you can create a group containing iOS and Mac apps that share the same leaderboards and achievements. When you move an app to a group, the app leaderboards and achievements move to the group as well. Apps within a group can still have different default leaderboards.

Creating and Editing Groups

A group can’t exist without containing at least one app, so you create a group by moving an app to a group. Depending on whether the app is already enabled for Game Center, the workflow is slightly different. You also have the option of creating a new group or moving an app to an existing group. If the app and an existing group have leaderboards and achievements, you’ll need to decide whether to merge or add these to the group.

Refer to Table 14-9 when entering information about a group.

Table 14-9  Group Properties

Property

Description

Reference Name

An internal name that you must provide for each group. This is the name you see in iTunes Connect.

Apps in this Group

The apps attached to this group.

Group Leaderboards

The shared leaderboards for this group.

Group Achievements

The shared achievements for this group.

Default Leaderboard

The leaderboard that is displayed by default in your app.

bullet
To add an app to a new group
  1. Click Manage Your Applications.

  2. Select an app that is not a member of a group.

  3. Click Manage Game Center.

  4. If the app is not enabled for Game Center, click “Enable for Group of Games.”

  5. If the app is enabled for Game Center but not in a group, click “Move to Group.”

  6. Enter a group reference name in the text field.

  7. Click Create Group.

    image: ../Art/gc_move_to_new_group.png
  8. Edit the group’s properties as described in “To edit group properties.”

  9. Click Done.

Once you create a group, you can add multiple apps to the group. If either the app or group has existing leaderboards and achievements, you’ll need to decide whether to add or merge them.

bullet
To add an app to an existing group
  1. Click Manage Your Applications.

  2. Select an app that is not a member of a group.

  3. Click Manage Game Center.

  4. If the app is not enabled for Game Center, click “Enable for Group of Games.”

    image: ../Art/gc_single_or_group.png
  5. Otherwise, if the app is enabled for Game Center but not in a group, click “Move to Group.”

    image: ../Art/gc_move_to_group.png
  6. In the “Move to an Existing Group” section, click a group in the table.

    image: ../Art/gc_add_app_to_group.png
  7. If the app has existing leaderboards or achievements that need to be moved or merged with the group’s, follow the steps in “Moving App Data to Groups.”

  8. Otherwise, click Save.

You edit properties of an existing group from the Game Center Groups page.

bullet
To edit an existing group
  1. On the Manage Your Apps page, click Game Center Groups.

  2. In the Manage Existing Groups section, click the group you want to edit.

  3. Edit the group’s properties as described in “To edit group properties.”

If the current app version has not been reviewed and approved, you can remove it from a group. When you remove the last app from a group, the group is deleted.

bullet
To remove an app from a group
  1. On the Manage Your Apps page, click Game Center Groups.

  2. In the Manage Existing Groups section, click the group you want to edit.

  3. In the row of the app you want to remove, click Delete.

    If the app is the last app in the group, the group is deleted too.

To make the group leaderboards and achievements available to users, you must submit a new version of your app from the Version Details page, as described in “Distributing Game Center Apps.”

Moving App Data to Groups

The purpose of adding an app to a group is to share data, specifically share leaderboards and achievements. Therefore, when you add an app to a group, the app’s leaderboards and achievements need to be added or merged with the group’s leaderboards and achievements. Once an app is added to a group, you can no longer view the app’s leaderboards and achievements in iTunes Connect. Ideally, the mapping from app to group assets is one-to-one but that may not be the case. Therefore, iTunes Connect guides you through this process by presenting only compatible assets and available options at each step of the way.

There are no restrictions on adding leaderboards and achievements to groups or merging achievements. However, there are some constraints when merging leaderboards. When you merge an asset, there are rules for what properties the group asset inherits from the app asset.

After you move your app assets to the group, follow the steps in “Distributing Game Center Apps” to submit the group assets along with a version of your app.

Rules for Moving Leaderboards

Leaderboards need to be moved in a specific order depending on the type. Move leaderboards in this order:

  1. Move combined leaderboards.

    If you merge a combined leaderboard, you have to complete all the steps to merge that leaderboard before you can move the next combined leaderboard.

    1. Merge the combined leaderboard.

      A combined leaderboard needs to be merged before its attached children.

    2. Merge or add its attached leaderboards.

      The attached leaderboards can be moved in any order. However, you should merge higher priority leaderboards before lower priority ones or follow the order that iTunes Connect presents the leaderboards to you. As you select leaderboards to merge, there are fewer options for the remaining leaderboards.

  2. Move single leaderboards.

    Single leaderboards can be moved in any order. However, you should merge higher priority leaderboards before lower priority ones or follow the order that iTunes Connect presents the leaderboards to you.

The choices you have to merge leaderboards depends on the type of leaderboard, its property values, certain conditions, and your previous selections.

The rules for merging leaderboards are:

  • A leaderboard can only merge with a compatible leaderboard.

    Leaderboards are compatible if the values of the Score Format Type and Sort Order properties are the same.

  • A combined leaderboard can only merge with a combined leaderboard.

    If a compatible combined leaderboard is not available, it needs to be added to the group.

  • An attached leaderboard can merge with an attached leaderboard only if their combined (parent) leaderboards are also being merged with each other.

  • An attached leaderboard can merge with a single leaderboard.

    The single leaderboard will be attached to the corresponding group combined leaderboard.

  • A single leaderboard can merge with a single leaderboard.

  • A single leaderboard can merge with an attached leaderboard.

After merging two leaderboards, all of the group’s leaderboard property values remain the same with the exception of these properties:

  • Score Range If the app’s score range is larger than the group’s, the group’s score range expands to include the app’s. For example, if the range of the app’s leaderboard is 1-500 and the range of the group’s leaderboard is 1-250, then the range of the group’s leaderboard is set to 1-500.

  • Languages If the app has a language of the same type as the group, the group’s language is used. If the app has a language that the group doesn’t have, the app’s language is added to the group.

Rules for Moving Achievements

There are no restrictions on adding achievements to a group. However, when merging achievements, the maximum number of points for each achievement is 100 and the total maximum number of points for all app achievements is 1000, but there are no restrictions on the total points for all group achievements. After the merge, the total number of points for the app is still enforced. When an app is added to a group, the points remaining count is moved from the App Summary page to the Version Details page.

After the merge, all of the group’s achievement property values remain the same with the exception of the languages, which follow this rule:

  • Languages If the app has a language of the same type as the group, the group’s language is used. If the app has a language that the group doesn’t have, the app’s language is added to the group.

Moving Leaderboards and Achievements

The options that iTunes Connect presents to you are dependent on your specific app and group data. You won’t see options for types of assets that you don’t have. If the group has no leaderboards or achievements, you can move your app’s assets directly to the group. Otherwise, for each leaderboard and achievement, you choose whether to add or merge it with the group. If there are no available leaderboards or achievements to merge with, you need to add the leaderboard or achievement. Each group leaderboard and achievement ID needs to begin with the grp. prefix.

bullet
To move app leaderboards and achievements to a group
  1. For each combined leaderboard, choose whether to merge or add it, and then move its attached leaderboards.

    If the group has no leaderboards, the only option is to add the app’s leaderboards to the group.

    • To add a leaderboard, click Add (if visible) and enter a leaderboard ID (that begins with grp.) in the text field.

      image: ../Art/gc_add_lb_to_group.png
    • To merge a leaderboard, click Merge and select a compatible group leaderboard from the Select Group Leaderboard menu.

      image: ../Art/gc_merge_lb_group.png

      If you merge a combined leaderboard, choose whether to merge or add its attached leaderboards before moving the next combined leaderboard to the group.

  2. For each single leaderboard, choose whether to merge or add it.

    Configure the leaderboards you want to merge first, and then configure the leaderboards you want to add.

    To merge a leaderboard, click Merge and select a compatible group leaderboard from the Select Group Leaderboard menu. To add a leaderboard, click Add and enter a leaderboard ID (that begins with grp.) in the text field.

    image: ../Art/gc_merge_or_add_lb.png
  3. For each achievement, indicate whether to add or merge the achievement.

    Configure the achievements you want to merge first, and then configure the achievements you want to add.

    To merge an achievement, click Merge and select a group achievement from the menu. To add an achievement, click Add (if visible) and enter an achievement ID (that begins with grp.) in the text field.

    image: ../Art/gc_move_to_group_achieve.png
  4. Click Continue.

  5. Review the leaderboards and achievements that will move to the group.

    For example, in the Moved Leaderboards section, the first column displays the app’s leaderboards that are being added or merged with a corresponding group leaderboard displayed in the second column.

    image: ../Art/gc_add_app_to_existing_group_3.png
  6. If you want to change the settings, click Go Back.

  7. Otherwise, select “All changes are accurate.” and click Save.

Managing Group Leaderboards and Achievements

After you create and add apps to a group, you can edit it from the Game Center Groups page.

bullet
To edit an existing group
  1. At the bottom of the Manage Your Apps page, click Game Center Groups.

    image: ../Art/gc_edit_existing_group_1.pngimage: ../Art/gc_edit_existing_group_1.png
  2. In the Manage Existing Groups section, select the group you want to edit.

    image: ../Art/gc_edit_existing_group.png

You use the same controls to edit group properties when you first create a group as you use later to edit an existing group.

bullet
To edit group properties
  1. To change the reference name of the group, Click Edit in the Reference Name section.

    image: ../Art/gc_edit_group_refname.png
  2. To change the default leaderboard of an app, click Edit in the Default Leaderboard column of the app’s row, select a new default leaderboard, and click Save.

    image: ../Art/gc_edit_group_apps.png

    If there is only one group leaderboard, you can’t change the default leaderboard so click Cancel.

    image: ../Art/gc_group_change_default_leaderboard.pngimage: ../Art/gc_group_change_default_leaderboard.png
  3. To add a leaderboard to the group, click Add Leaderboard in the Group Leaderboards section.

    Follow the same steps to create a leaderboard for an app as described in “To add a single leaderboard” except prepend the leaderboard ID with the grp. prefix.

    image: ../Art/gc_edit_group_leaderboards.png
  4. To add an achievement to the group, click Add Achievement in the Group Achievement section.

    Follow the same steps to create an achievement for an app as described in “To add an achievement” except prepend the achievement ID with the grp. prefix.

  5. Click Done.

You follow the same steps to create and edit group leaderboards and achievements as you do for app leaderboards and achievements as described in “Managing Leaderboards” and “Managing Achievements.” You can also create combined leaderboards owned by a group as described in “Combining Leaderboards.”

Group leaderboards and achievements can have an additional status called Not Live. If the status of a group leaderboard or achievement is Not Live, then it was live for an app and was moved to a group but not approved. See Table 14-4 and Table 14-7 for a description of all the status values.

Testing Your App

Once you enable Game Center for your app and create single or group leaderboards and achievements, you are ready to test the app in sandbox. You can begin testing leaderboards and achievements without any additional setup even when your app belongs to a group. However, testing multiplayer compatibility requires some configuration.

After you are done testing leaderboards, remove the leaderboard test data before submitting the app.

bullet
To delete leaderboard test data
  1. Go to the Game Center page of your app.

  2. In the Leaderboards section, click Delete Test Data.

    This operation submits a request to Apple to delete your test data. Requests are usually processed within one day and can not be undone.

    image: ../Art/gc_16a_leaderboards_section.pngimage: ../Art/gc_16a_leaderboards_section.png

Multiplayer Compatibility Testing

Multiplayer compatibility settings determine which versions of your app are compatible—that is, they determine which users running different versions of your app can play together in Game Center. You access the multiplayer compatibility settings through the Version Details page of your app. There is no additional setup required to test versions of the same app. Only if you are testing multiple apps playing together, go to the Version Details page and add the apps you want to test to the multiplayer compatibility list. Later, when you are ready to submit your app, you’ll follow these same steps to select the versions of your app that are multiplayer compatible.

bullet
To change set multiplayer compatibility settings
  1. On the main iTunes Connect page, click Manage Your Applications.

  2. Click your app to go to the App Summary page.

  3. In the Versions section, click View Details.

    image: ../Art/gc_app_sum_view_details.png
  4. In the Multiplayer Compatibility section of the Game Center section, click Edit.

    image: ../Art/gc_multi_compat.png
  5. To add a multiplayer app, select an app from the Plus menu (located below the list of apps).

    image: ../Art/gc_mc_3_compatibility_edit_page.pngimage: ../Art/gc_mc_3_compatibility_edit_page.png

    The Plus menu displays the name and platform for each app you can add.

  6. To delete a multiplayer app, select the app from the list and click the Minus button.

    image: ../Art/gc_mc_4_compatibility_edit_page.pngimage: ../Art/gc_mc_4_compatibility_edit_page.png
  7. To select previous versions of an app, select the app and select the versions of the app that are multiplayer compatible in the detail view on the right.

    Only versions of the app that are Game Center enabled are shown in the detail view.

  8. Click Save.

Distributing Game Center Apps

You can enable a version of your app for Game Center at the time you submit your app to the App Store. At this time you can select which leaderboards and achievements you want to submit with that version of your app. Also, you can select which apps and versions that you want you app to be compatible with.

If you use the multiplayer compatibility feature, you also need to select the apps that are compatible with this version of your app on the Version Details page.

bullet
To enable a version of your app for Game Center
  1. Log in to iTunes Connect using your Apple ID user name and password.

  2. Click Manage Your Applications.

  3. Click the app you want to manage.

  4. In the Versions section, click View Details next to the version you want to edit.

  5. In the Game Center section, click Disabled.

    image: ../Art/gc_disabled.png
  6. If you have leaderboards to submit with this version of your app, click Edit in the Leaderboards section.

    1. Click Edit in the Leaderboards section.

      image: ../Art/gc_mp_leaderboard_edit.png
    2. Select the leaderboards you want to submit.

      image: ../Art/gc_av_3_select_leaderboards.pngimage: ../Art/gc_av_3_select_leaderboards.png
    3. Click Save.

  7. If you have achievements to submit with this version of your app, click Edit in the Achievements section.

    1. Click Edit in the Achievements section.

    2. Select the achievements you want to submit.

    3. Click Save.

  8. If you have apps to add to the multiplayer compatibility list or want to change the versions, click Edit in the Multiplayer Compatibility section.

  9. Click Ready to Upload Binary.

If a version of your app was previously approved, you can no longer disable Game Center for all versions of your app. Instead, you must change Game Center properties for each version of your app separately. If you disable a version of your app for Game Center, it may change the multiplayer compatibility settings described in “Multiplayer Compatibility Testing.”

bullet
To disable a version of your app for Game Center
  1. Go to the details page of the app version you want to edit.

  2. In the Game Center section, click Enabled.

Occasionally, you may need to submit a version of your app without groups and multiplayer compatibility enabled (perhaps you need to fix a bug but are not ready to release the groups and multiplayer compatibility version yet). To do this, you need to remove the app from the group and deselect the versions of the app or any additional apps you added from the multiplayer compatibility settings. Refer to “Creating and Editing Groups” for how to remove an app from a group and “Multiplayer Compatibility Testing” for how to change the multiplayer compatibility settings.


Did this document help you? Yes It's good, but... Not helpful...