Cocos2D OR libgdx用于Android游戏开发 [英] Cocos2D OR libgdx for Android Game Development

查看:217
本文介绍了Cocos2D OR libgdx用于Android游戏开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道,从长远来看,使用这些引擎中的哪一种会更好.尽管我认为使用Cocos2D将是一个更好的选择,因为它也可以用于iphone开发,但是只有1个教程

I just want to know, that in the long run, using which of these engines will be better. Although I feel that using Cocos2D will be a better option, as it can also be used for iphone development, there's just 1 tutorial http://dan.clarke.name/2011/04/how-to-make-a-simple-android-game-with-cocos2d/ which I've found so far. libgdx, on the other hand has a complete book.

推荐答案

考虑使用 AndEngine .从libgdx的简短浏览来看,它们似乎很相似(尽管AndEngine仅是2D的).但是,AndEngine拥有2D游戏所需的一切.它唯一缺少的是文档,但是它是开源的-如果您没有得到什么,请查看

Consider using AndEngine. From a short look at libgdx, they seem similiar (Although AndEngine is 2D only). However, AndEngine has everything you need for a 2D game. The only thing it lacks is documentation, but it is open source - if you don't get something, take a look at the code.

有一个活跃的论坛此处,还有一个

There is an active forum here, and there is also a SO tag for AndEngine, so you can ask questions here too.

它还具有许多有用插件的扩展,例如物理引擎 Box2D ,它是2D跨平台用于许多著名游戏的物理引擎(例如,愤怒的小鸟使用它).它还支持TMX平铺地图,界面非常简单(实际上,这就是我现在正在开发的游戏,使用AndEngine TMX实用程序真的很容易.)

It also has many extensions for useful add-ons, like the physics engine Box2D which is a 2D cross platform physics engine used for many well known games (For example, Angry Birds uses it). It also supports TMX tiled maps, with a pretty easy interface (Actually that's the game I'm developing now, it's really easy to use the AndEngine TMX utillities).

....在选择cocos2d或libgdx之一之前,请看一下AndEngine:)

So.. before you pick one of cocos2d or libgdx, take a look at AndEngine :)

@Greg这不是真的...

@Greg That's not true...

易学且文档完善的引擎

It is easy to learn and good documented engine

all 几乎没有javadoc.但是论坛上充斥着各种教程,网络也是如此.

There is almost no javadoc at all. But the forums are full with tutorials, and so is the web.

编辑:根据您对Greg的回答的意见,如果您正在寻找易于开发的工具,那么AndEngine是一个不错的选择.通过查看那是cocos2d教程代码,它看起来比AndEngine的代码复杂得多,而且不那么直观.

From your comment at Greg's answer, if you are looking for easy developing, AndEngine is a good choice. From taking a look at that's cocos2d tutorial code, it seems much more complicated and less intuitive than AndEngine's code.

这篇关于Cocos2D OR libgdx用于Android游戏开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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