Cocos vs AndEngine for android [closed]

谁说我不能喝 提交于 2019-12-18 05:56:07

问题


I want to make a game using Tiled Map Editor and I want to move the character around using a D-Pad for moving the character

So I'm wondering which Engine would be better AndEngine or Cocos2d

Keep in mind i'm a beginner at this so I'd like to stare at a lot of tutorials. :-D

Thanks


回答1:


Both engines supprot loading TMX map quite easy and input from D-PAD. So if your requirements are only that, there is no big difference. Just use what you familiar with.




回答2:


Cocos2d-android don´t have support anymore. You must use cocos2d-x, cross-plataform, use JNI to use c++ code. More info HERE.

Cocos2d-x is great to create games, but i have not use AndEngine never.




回答3:


Libgdx      : Java (Good documentation/Sample example)
                   (Android/iOs/3D support also)

Cocos2d-x   : C++  (Good documentation and Sample example)
                   (Android/iOS/window/bada/blackbarry/etc/3D supports)

AndEngine   : Java (Documentation is **OK** but bit of issue )
                   (Android)

Cocos2d-android : Java (bIT of documentation/ easy to use )
                       (Almost dead only android)

If familiar with java choose LibGdx OR cocos2d-x for C++.

I recommended that you should choose cocos2d-X




回答4:


I started with Cocos2d-android as it appeared a better option , but after a while I was shocked that I could not find any tutorials for Cocos2d-android

either go the Cocos2d-x-android , or take AndEngine I never tried Cocos2d-x-android , but I can confirm that AndEngine is pretty good and got lots of examples and enough tutorials to get you started [AndEngine lacks documentation though .. but that won't be a problem if you started with the official examples]

Edit: AndEngine is kinda dead now




回答5:


There are a hell lot of bugs in AndEngine... i had first the same dilemma of choosing one thing over other but my options include libgdx,andengine and cocos2dx...

Though libgdx is a framework but its the most powerfull of them all and you can go very deep in the code (u might create some extraordinary events)...but for a beginner like me thats a tough one as i have no experience of game programming (also the kind of easy docu given at its site allures you to use it but after a while when you want to create something of your own you are puzzled).. But the best performance is guranteed !!

Next comes the AndEngine ..excellent work doen by Nicolas..but alas the bug count is ever rising and there are not consistent results around the devices..its one of the major drawback..you can avoid bugs but when performance is hitted hard you have no option but to leave it !!

Cocos2d-x(this is what AndEngine without bugs and good-performance would be like in the future).. but the only drawback with cocos is the programming on not-a-mac OS...you dont have the usual code completion and tiny-miny features which are programmers essentials these days..but for performance and bug-resistent coding we have a runner-up to libgdx !!




回答6:


For Android, I would highly recommend LibGDX: native, good documentation, and large community/forum.



来源:https://stackoverflow.com/questions/10959337/cocos-vs-andengine-for-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!