0

来自Game Center 入门文档

A player might have the same Game Center enabled game loaded on multiple devices. If your
app has reported progress on an achievement from one device, note that the same
achievement progress data will be provided by Game Center on other devices where the user
plays your game. However, other game state maintained by your app may not be in sync and
should be handled accordingly.

我对 iOS 开发比较陌生,即将开始研究如何在不同硬件(iPhone、iTouch 和iPad) 运行我的游戏,我希望我能从 SO 用户那里获得一些关于执行此操作的好方法的见解。我需要为此构建一个 Web 服务吗?iTunes 可以用来同步这些数据吗?是否有专门为此构建的 API?

谢谢你的智慧!

4

4 回答 4

0

我认为使用网络服务并制作 JSON 帖子和请求将是一个不错的途径。

于 2010-10-22T17:34:38.133 回答
0

Apple 建议的一种方法是使用应用程序首选项,它在用户同步手机时由 iTunes 备份。

于 2010-10-25T22:49:21.103 回答
0

我为此使用 NSUserDefaults 并且效果很好!

于 2010-11-06T17:39:54.820 回答
0

iCloud是您的门票

于 2012-02-22T19:41:59.763 回答