且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Cocos2D OR libgdx用于Android游戏开发

更新时间:2023-01-24 21:23:14

考虑使用 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.