如何在发布之前重置Google Play游戏排行榜? [英] How do I reset Google Play Games leaderboards before publishing?

查看:200
本文介绍了如何在发布之前重置Google Play游戏排行榜?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将新版Google Play游戏与假分数整合的同时进行了一些测试,现在我需要在发布游戏之前重置排行榜!



我发现了这个REST API:
https://developers.google.com/games/服务/管理/ api /?hl = en#分数



但这似乎只与网页游戏有关,而非Android游戏:
使用Google Play游戏服务REST API从您的网页游戏设置和检索游戏服务数据

谢谢!

解决方案

现在可以在开发过程中重置排行榜。 您只能重置草稿排行榜的玩家进度数据。



要重置Google Play开发者控制台中的排行榜,请点击标记为重置排行榜进度的
按钮表格底部
f或那个事件。要以编程方式重置排行榜数据,请调用
管理API分数方法。

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

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!

解决方案

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

这篇关于如何在发布之前重置Google Play游戏排行榜?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆