iOS 多人游戏 - 多人游戏部分使用什么?
我正在开发一款 iOS 游戏,其中应该包含多人游戏。这不是回合制游戏,而是实时游戏。我知道我可以在这里使用一些不同的方法:
- Game Center 多人游戏(具有匹配和搜索匹配项,提供开箱即用的身份验证,另外还有排行榜和成就)
- 据我所知,OpenFeint 还包括一些多人游戏
- 助手也可以自己写服务器代码,但是这不是重复发明轮子吗?我也会失去 GC 的所有好东西...
这里有什么建议吗?什么是领先的市场解决方案,不需要太多就能集成到游戏中;我希望能够在玩家之间实时发送短数据(玩家位置+采取的行动)。最好的办法是减少延迟:)
I'm developing a game for iOS that should include the multiplayer. It's not a turn-based, rather a real-time game. I know I can use some different approaches here:
- Game Center multiplayer (has matching and searching for matches, gives authentication out-of-the-box, additional are leaderboards and achievements)
- As far as I know, OpenFeint also includes some multiplayer helpers
- I can also write my own sever code, but woudn't it be reinventing the wheel? I'd also loose all the good stuff from GC...
Any suggestions here? What's the leading market solution, that doesn't take too much to integrate into a game; I'd like to be able to send short bits of data between players (player position + action taken) in a real time. Best would be to reduce the lag :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
就我个人而言,我认为最简单的方法是使用游戏中心。将其集成到现有游戏中非常简单 - 我想说需要 2-3 周的时间。我们遇到的主要问题是游戏模拟不太适合多人游戏,而不是与游戏中心处理有关。
personally, i think the easiest way to go is with gamecenter. it was pretty straightforward to integrate it into an existing game - i'd say it took 2-3 weeks. the main problems that we encountered were to do with the game simulation not being particularly suited to multiplayer, rather than anything to do with dealing with gamecenter.
您也可以考虑Nextpeer(披露:我在那里工作)。 GameCenter很好,但它有一个缺点,就是不跨平台。我们提供跨平台(iOS、Android 和 Unity3d)的解决方案,并且面向休闲游戏中的多人游戏。因此,我们提供托管、玩家间交流、配对和 Facebook 集成。
You may also consider Nextpeer (disclosure: I work there). GameCenter is good, but it has the downside of not being cross-platform. We offer a solution that is cross-platform (iOS, Android and Unity3d) and is geared towards multiplayer in casual games. So we provide the hosting, the player-to-player communication, the matchmaking, and Facebook integration.