提交成就的最佳实践:
1.Report progress on an achievement as soon as the player makes progress. Don’t delay reporting until a later time; if a player earns an achievement, the banner should be displayed immediately!
玩家已有成就更新就提交,不要延迟提交。
2.Report progress only when the player has actually made further progress. Do not report changes to Game Center if the player has not made progress, because it consumes network resources without actually changing the state of the data on Game Center.
提交时要判断成就完成度是否有进展,比如完成度10%更新为20%可以提交,像更新度不变的这种要过滤出来,节省网络资源
方法A:可以设置一个
本文发布于:2024-02-02 10:00:10,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170683920943049.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |