iPhone4、iOS5 联网、多人增强现实 (AR/VR) 游戏。从哪里开始?

发布于 2024-12-17 12:32:49 字数 563 浏览 3 评论 0原文

我现在正在开发一个相当复杂的应用程序,但我刚刚得到了一个非常好的、针对 iPhone 的 AR 游戏的利基市场创意。我很乐意做一些初步研究,看看是否值得付出努力。我有一些时间(大约 4 天)来编写这个代码。对于我想要完成的任务来说,这是一个现实的时间表吗?

虽然我对 CMDeviceMotion 非常熟悉,并且可以从 GPS 获取位置更新,但我认为有 4 个功能可能需要大量工作:

1) 实时使用相机来绘制增强现实控件。有没有关于如何在实时摄像机源上叠加视图的好的教程?

2) 当 GPS 接收不稳定时使应用程序正常工作。似乎有些应用程序知道如何根据上次已知位置的加速度计/陀螺仪不断更新位置。在这方面我该从哪里开始呢?

3)网络组件。我对多人游戏很陌生。我有一个可以运行 PHP 的网站。在获得网络服务器之前我是否应该放弃网络想法?或者有什么方法可以在没有基站的情况下通过 3G 进行 P2P 运行?

4)谷歌地图集成,快速更新。这需要花费很多精力吗?

如果这些问题过于宽泛和模糊,我很抱歉。我对这个想法感到非常兴奋,但在花时间使用该应用程序并意识到我正在处理一项艰巨的任务之前,我想知道我正在处理什么!

I'm working on a pretty complicated app right now, but I just got a really good, niche market idea for an AR game for iPhone. I would love to get some preliminary research done on whether or not it is worth the effort. I got a few (about 4 days) in which to code this. Is this a realistic timeline for what I'm trying to accomplish?

While I'm pretty familiar with the CMDeviceMotion, and can get location updates from GPS, there are 4 features that I think may take a colossal amount of work:

1) Working with camera in real time to draw augmented reality controls. Are there any good tutorials on how to overlay a view on top of a live camera feed?

2)Making the app work when GPS reception is spotty. It seems that some apps know how to keep updating the location based on accelerometer/gyroscope from the last known location. Where would I start on this front?

3)The networking component. I'm very new to multiplayer games. I got a website that can run PHP. Should I abandon my networking idea until I get a web server? Or is there some way I can run this in P2P over 3G without a base station?

4)Google maps integration for fast updates. Does this take a lot of effort?

I'm sorry if any of these questions are too broad and vague. I'm very excited about this idea, but would like to know what I'm dealing with before spending time on the app and realizing that I'm dealing with a monumental task!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

治碍 2024-12-24 12:32:49

我认为您正在处理一项艰巨的任务(尤其是多人游戏部分,您会遇到诸如滞后/计时之类的问题)。

对于项目的增强现实部分,您可以查看 mixare 增强现实引擎。它是免费的开源软件,代码可在 github 上获取:https://github.com/mixare/
请注意,如果您的代码基于 mixare,则必须在与 mixare 相同的 GPLv3 许可证下发布您的应用程序。

祝你的项目好运!

哈特哈,
丹尼尔

I think you are dealing with a monumental task (especially the multiplayer part, where you'll encounter issues like lag/timing).

For the augmented reality part of your project, you can take a look at mixare augmented reality engine. It's free and open source software and the code is available on github: https://github.com/mixare/
Be aware that if you base your code upon mixare, you'll have to release your app under the same GPLv3 license as mixare.

Good luck for your project!

HTH,
Daniele

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文