This page outlines how to set up Google Play Games Services and then add features to an Android game. The tasks include setting up the service in Google Play Console and adding features to your game, such as sign-in and achievements.
To go straight to the guides for each programming language, use these links:
The Play Games Services setup tasks are common for C and Java games. However, the tasks that set up your game project and add Play Games Services features are specific to the main programming language used in the game project. The get started tasks for Unity games have additional difference because they use a plugin for Play Games Services instead of having an additional set of C# APIs.
Here are the basic steps to set up Play Games Services for a game and add features:
Set up Play Games Services.
Set up your game project and integrate the Sign-in service.
Set up and add features to your game project.
Test and Publish any changes you make to your Play Games Services features.
Before you start
You must have a Google Play Developer account set up in Play Console. For more information, see the Register for a Google Play Developer account.
Set up Play Games Services
To set up Play Games Services in Google Play Console, see the set up guide.
For Unity games: If you are developing your game in Unity, after you complete these, you must perform additional steps to configure the Google Play Games plugin for Unity. See the plugin set up guide for details.
Set up your game project
You must set up a Play Games Services in your game project and integrate the Sign-in service before adding other Play Games Services features. See the following guides for details. These tasks are specific to the main programming language used by your game project:
Add additional features
After you integrate sign-in, you can add additional Play Games Services features to your game. This involves setting up the feature in Play Console and then integrating the API in your game project. See the following guides for details:
Test and publish Play Games Services updates
After you add Play Games Services features to your game project, you should test any updates you make to your Play Games Services project using the test accounts that you setup when you configure Play Games Services. When you're satisfied with the changes, you can use Play Console to publish them. This does not involve publishing your game, and only updates the Play Games Services project and services hosted by Google.
What's next
After you set up Play Games Services and add features to your game, you can use the Play Games Services REST APIs for publishing and management tasks.