LibGDX vs Cocos2dx for Android Game Development

I need to know how LibGDX compares with Cocos2dx for the Android platform. Yes, mobility is the goal, but it is quality, ease of use and frame rate.

+4
source share
2 answers

Well, that clearly depends on what you need. Libgdx and Cocos2d have very different APIs. Therefore, I really recommend that you simply check both of them and choose what is best for you in the end. Personally, I don't like the Cocos2d API. Libgdx is much lower level and allows you to completely separate the rendering logic from your game logic.

Libgdx is written in Java on top of C ++. However, critical parts of the performance are written to native code to execute at optimal speed. I personally looked at a lot of frameworks and did not find anything that would be better than libgdx. Development also becomes very fast when exchanging hot code, which allows you to run and modify the code in your game without recompiling. Libdgx also allows you to deploy HTML5 without rewriting anything. iOS is WIP. Therefore, if iOS is your first priority, you need to wait for libgdx to support this.

The biggest benefit of using libgdx is the extremely useful community that manages it. You will receive answers very quickly, as well as the help of the developers themselves.

Needless to say, I am an avid proponent of libgdx.

+7
source

First of all, libGDX is just a game development platform and the use of many third-party libraries, such as box2d and the lightweight java game library. also for beginners it is completely dangerous to set it to an eclipse. Its deployment is limited only to Windows, Linux, Mac OS X, Android, iOS and web browsers (webgl support)

  • It supports deployment to Windows, Linux, Mac OS X, Android, iOS, and Internet browsers (webgl support)
  • Using Third-Party IDEs

while on the other hand, cocos-2d is open source, not only a limited development of the game, but also supports applications and other interactive programs based on Gui. It also sends many cousins ​​libraries like Cocos2d-SpriteBuilder, Cocos2d-x, Cocos2d-html5 and Cocos2d-XNA, which can be very useful for sprite editing, particle editing, etc. One of the main advantages of cocos2d is that it uses its own CocoStudio IDE, which can be very useful and shaving time.

  • Deployment of support in Windows, MAC OS X, Linux, android, Windows Phone 7 and 8, Windows 7 and 8, Xbox 360.
  • It uses its own Cocostudio IDE.
  • open source
+1
source

All Articles