用于 2D 平台游戏的最佳 iPhone 框架 [英] Best iPhone framework for 2D platform games

查看:29
本文介绍了用于 2D 平台游戏的最佳 iPhone 框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您建议使用哪种框架为 iPhone 构建 2D 平台游戏?我只需要在屏幕上移动资产并检测碰撞等.

Which framework do you suggest for building a 2D platform game for the iPhone? I only need to move assets around the screen and detect collisions etc.

我认为是 OpenGL.但也许 Quartz 2D 就足够了?或者还有什么我应该注意的吗?各自的优点和缺点是什么?我想 OpenGL 的学习曲线更长,但在性能上是有回报的,对吧?

I would think OpenGL. But maybe Quartz 2D is enough? Or is there something else I should be aware of? What are advantages and disadvantages of each? I guess there is a longer learning curve for OpenGL, but that pays off in performance, right?

推荐答案

我目前正在使用并推荐Cocos2d.(http://cocos2d-iphone.org)

I am currently using and recommend Cocos2d. (http://cocos2d-iphone.org)

cocos2d-iphone 的文档非常好,并且一直在变得更好.您可以下载一些完整的工作示例游戏,并且 API 本身附带了很多您可以使用的示例.

The documentation for cocos2d-iphone is pretty good and getting better all the time. There are some full working example games you can download and the API itself comes with quite a number of examples you can use.

下面是一组很好的安装说明,您可以使用它来开始:

Here is a good set of install directions you can use to get started:

http://permadi.com/blog/?p=130

希望这会有所帮助!

这篇关于用于 2D 平台游戏的最佳 iPhone 框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆