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

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

问题描述

您建议为iPhone构建2D平台游戏的框架是什么?我只需要在屏幕上移动资源并检测冲突等。



我会认为OpenGL。但也许Quartz 2D就足够了?或者还有什么我应该知道的?每个的优缺点是什么?
我猜OpenGL有更长的学习曲线,但是在性能方面还是值得的,对吗?

解决方案

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



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



以下是您可以用来开始使用的一系列安装说明:

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



希望这有助于!


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.

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?

解决方案

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

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

Hope this helps!

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

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