简体   繁体   English

游戏中心得分坚持特定分数

[英]Game Center Scores Stuck at a Particular Score

I've been developing an app that posts scores to GC leaderboards and pulls them back down. 我一直在开发一个应用程序,将分数发布到GC排行榜并将其拉回来。 Still in the dev phase, it does this to the sandbox envirenment. 仍然处于开发阶段,它会对沙箱环境做到这一点。 Recently I've noticed that the score increases like normal, I get the high score programatically and its correct, I can check the leaderboard, in-app, and its correct, and switch to the Game Center and it's correct. 最近我注意到得分正常增加,我以编程方式获得高分并且正确,我可以检查排行榜,应用程序内及其正确,并切换到游戏中心,这是正确的。 However, once I quit the app or stop posting scores for awhile, the scores disappear, reverting back to a particular score in the past or disappearing complete if the account is new. 但是,一旦我退出应用程序或停止发布分数一段时间,分数就会消失,过去会恢复到特定分数,或者如果帐户是新的则消失完成。

Is this a known issue with GC or the sandbox? 这是GC或沙箱的已知问题吗? Some well known thing I'm not doing right? 一些众所周知的事情我做得不对劲? I'm really kinda puzzled at this point. 在这一点上我真的很困惑。

Unfortunately, you should not expect GC Sandbox to save your scores between sessions. 不幸的是,您不应期望GC Sandbox在会话之间保存您的分数。

Just as you wouldn't expect a sandcastle to remain standing between trips to the sandbox in your kids playpark! 就像你不希望沙堡在你孩子游乐场的沙箱之间保持站立一样!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM