游戏中心组 [英] Game Center groups

查看:94
本文介绍了游戏中心组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有Game Center排行榜的iOS游戏.我几个月前发布了该游戏,现在我正在研究OSX版本.我想为两个版本的游戏使用相同的排行榜,这意味着我需要创建一个Game Center组.问题在于,当您将排行榜ID移入组时,Apple会强制您对其进行修改:

I have an iOS game with one Game Center leaderboard. I published the game a few months ago and now I'm working on the OSX version. I want to use the same leaderboard for both versions of the game, which means that I need to create a Game Center group. The problem is that Apple forces you to modify your leaderboard ID's when you move them into a group:

组ID必须以grp开头.

Group ids must begin with grp.

现在,如果我这样做了,我将需要更新游戏的iOS版本,以便我的用户可以继续发布分数,并且如果我发布了游戏的iOS版本的更新,则那些不这样做的玩家安装此更新将不再能够使用页首横幅.

Now, if I do that, I will need to update the iOS version of the game so that my users can keep posting their scores, and if I release an update for the iOS version of the game, players who don't install the update will no longer be able to use the leaderboard.

我的问题是:是否可以在两种版本的游戏中使用相同的排行榜而不必更新iOS版本?

My question is: Is there a way to use the same leaderboard in both versions of the game without having to update the iOS version?

谢谢.

推荐答案

您不需要更新iOS版本.您已经猜到了,旧的ID会继续起作用(在正常情况下).如果您添加新的排行榜或成就,它们将被添加到grp.*中(如果您希望iOS版本使用这些排行榜,则必须进行更新).

You don't need to update the iOS version. As you guessed already, the old IDs continue to work (under normal circumstances). If you add new leaderboards or achievements, they will be added to the grp.* though (necessitating an update if you want these to be picked up by the iOS version).

沙盒grp.排行榜不会继承iOS版本的实时得分,实时iOS版本的旧排行榜得分应保持不变.

The sandboxed grp. leaderboard does not inherit the live scores from the iOS version, the old leaderboard scores for the live iOS version should be still intact.

现场直播.排行榜从非分组iOS版本的排行榜继承实时得分.

The live grp. leaderboard should inherit the live scores from the non-group iOS version leaderboard.

通常,沙盒排行榜和成就可能会不时消失,iTunes连接配置的更改也需要一些时间(有时需要几个小时)才能正确反映在应用的沙盒GC数据库中.

In general, sandboxed leaderboards and achievements can get wiped from time to time, and it also takes some time (a couple of hours sometimes) for changes in your iTunes connect configuration to reflect properly in the sandboxed GC database for your app.

这篇关于游戏中心组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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