Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I reset Google Play Games leaderboards before publishing?

I've done some tests while integrating the new Google Play Games with fake scores, now I need to reset the leaderboards before publishing my game!

I found this REST API: https://developers.google.com/games/services/management/api/?hl=en#Scores

But this seems to be related only to web games, not Android games: "Use the Google Play game services REST API to set and retrieve game services data from your web game"

Thanks!

like image 876
thiagolr Avatar asked May 17 '13 10:05

thiagolr


People also ask

What is a game leaderboard?

The term leaderboard is often used in the video gaming industry to signify rank among people who play various titles. Players can be ranked against other players based on their number of kills (most common), items collected, or some other metric.


2 Answers

I ended up switching all my leaderboards in the Developer Console to use "lowest scores are best" instead of the previous "highest scores are best" and this seems to have reset the old scores that were saved. It's a bit of a hack but very useful. You could probably switch back again and everything would still be cleared.

like image 65
Gabriel Avatar answered Oct 04 '22 06:10

Gabriel


Updating the answer as it is now possible to reset the leaderboard during development.

You can only reset player progress data for your draft leaderboards.

To reset leaderboards in the Google Play Developer Console, click the button labeled Reset leaderboard progress at the bottom of the form for that event. To reset leaderboard data programmatically, call the Management API Scores methods.

Reference: https://developers.google.com/games/services/common/concepts/leaderboards#resetting_a_leaderboard

like image 36
thiagolr Avatar answered Oct 04 '22 04:10

thiagolr