Ship to the App Store

Have an Agent add a Game Center activity that sends players straight to a level or mode, link it to leaderboards and achievements, give it text and an image in each language, and send it to App Review.

A Game Center activity describes something to do in your game and takes players straight to it. Apple’s help gives examples like collecting puzzle pieces or completing daily tasks, and says activities link players directly to a specific mode or level. See Apple’s Manage activities ↗.

Apple’s GameKit article says the Games app uses your activities to send players to that part of your game, and that an activity can be tied to achievements and leaderboards. See Creating activities for your game ↗.

Before you start

  • The game needs Game Center. If it doesn’t have it yet, start with Add Game Center leaderboards and achievements. That page also lists what your Apple Developer account needs.
  • An activity only describes where to go. The game’s own code has to open that place when a player starts the activity, so ask your Agents for that code in the same request.

Ask for an activity

Say in the Project’s chat what the activity is, where it should take players, and which leaderboards and achievements belong to it, for example:

Add a Game Center activity "Daily puzzle" that opens today's puzzle. Tie it to the puzzle leaderboard and the "10 puzzles solved" achievement. English and Spanish text, and make a picture for it. Make the game open the puzzle when a player starts the activity.
  1. The Agent creates the activity with asc game-center activities create, with a reference name, an activity ID and the details in the table below.
  2. It ties leaderboards and achievements to it with asc game-center activities leaderboards set and asc game-center activities achievements set.
  3. It adds what players read, one language at a time, with asc game-center activities localizations create: a name and a description.
  4. It uploads the picture as a PNG with asc game-center activities images upload, either for one language or as the default picture for every language.
  5. It adds the code that opens the right place in the game, and tells you in the chat what it created. To see the list at any time, ask “Which activities does the game have?”. The Agent reads it with asc game-center activities list.

For the picture, the Agent can make one (see Have Agents make pictures for your app), or you can send your own in the chat (see Send photos, files and sketches to an Agent). Apple’s Game activities reference ↗ lists the picture size and format Apple accepts.

What to decide

These are the choices asc game-center activities takes. Say them in your request if you have a preference.

Choice What it is
Reference name A name for you in App Store Connect. Players don’t see it.
Activity ID The activity’s ID. Apple’s reference says it can’t be changed later.
Players The smallest and largest number of players.
Play style SYNCHRONOUS or ASYNCHRONOUS, the two values asc takes.
Party code Whether players can invite each other with a party code. Apple’s reference says this is for multiplayer activities.
Properties Details of your own, as names and values. Apple’s example is which level the activity is for and its difficulty.
Fallback URL A web address you host, which Apple’s reference describes as a link into your game.
Leaderboards and achievements The ones the activity is tied to.
Name, description and picture What players see, in each language.

Send it to App Review

Ask the Agent to put the activity into your next App Review submission, for example:

Add the Daily puzzle activity to the App Review submission for version 1.3.

The Agent adds it with asc review items add, whose help lists activities among the items a submission can carry (see review in asc: review and release). Then submit the version as usual. Submit for Review on the App Review tab sends the submission that’s being put together, so the activity goes with the version. See Submit to App Review and release.

If this is the game’s first update with Game Center, the version also needs Game Center switched on: see Add Game Center leaderboards and achievements. For when an activity needs a version and when it can go to review on its own, see Apple’s Submit Game Center components ↗.

To check where it stands, ask “Is the Daily puzzle activity live yet?”. The Agent reads the activity’s versions with asc game-center activities versions list; each has a state from App Store Connect, for example WAITING_FOR_REVIEW or LIVE. The help for asc game-center activities releases says releases are used to publish activity versions to live, without saying when that step is needed. If Apple has accepted an activity and it still isn’t live, ask the Agent to look into it.

Change or remove an activity

Say what should change. The Agent uses:

To Command
Change the players, play style, party code, properties or reference name asc game-center activities update
Change the fallback URL asc game-center activities versions update
Change a name or description asc game-center activities localizations update
Tie more leaderboards or achievements to it asc game-center activities leaderboards set or achievements set
Untie a leaderboard or achievement the same command with --remove
Put it away for now asc game-center activities update --archived true; --archived false brings it back
Delete it asc game-center activities delete

Untying a leaderboard or achievement, and deleting an activity, one of its languages or a picture, need --confirm, so the Agent asks you first. asc has no command to bring a deleted activity back, so archive it instead if you might want it again.

Questions

Where do players see activities?
Apple’s GameKit article says the Games app uses them to send players into your game. See Creating activities for your game ↗.
Starting the activity opens the game, but not the right place.
The game’s code decides where to go. Tell the Agent what you did and where the game opened, and ask it to send players to the right level or mode.
The Agent says no Game Center detail exists for this app.
asc shows “Warning: no Game Center detail exists for this app.” when the app has no Game Center setup in App Store Connect yet, for example as the Agent looks up its leaderboards. Ask the Agent to set Game Center up first: see Add Game Center leaderboards and achievements.
Can I tie a challenge to an activity?
Apple’s article says activities can be configured with challenges too, but asc game-center activities only ties leaderboards and achievements. To set up a challenge, see Add Game Center challenges to your game.
Can I try an activity before release?
Play a TestFlight build while signed in to Game Center, as for leaderboards. See Add Game Center leaderboards and achievements.