Book Image

Mastering Android Game Development

By : Raul Portales
Book Image

Mastering Android Game Development

By: Raul Portales

Overview of this book

Table of Contents (18 chapters)
Mastering Android Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
API Levels for Android Versions
Index

Leaderboards


Since YASS has only one game mode and one score in the game, it makes sense to have only one leaderboard on Google Play Game Services. Leaderboards are managed from their own tab inside the Game services area of the developer console.

Unlike achievements, it is not mandatory to have any leaderboard to be able to publish your game.

If your game has different levels of difficulty, you can have a leaderboard for each of them. This also applies if the game has several values that measure player progress, you can have a leaderboard for each of them.

Managing leaderboards on Play Games console

Leaderboards can be created and managed in the Leaderboards tag. When we click on Add leaderboard, we are presented with a form that has several fields to be filled. They are as follows:

  • Name: the display name of the leaderboard, which can be localized. We will simply call it High Scores.

  • Score formatting: this can be Numeric, Currency, or Time. We will use Numeric for YASS.

  • Icon: a 512x512 px icon...