Open source game engine Cocos2d-x, OGEngine Comparative Analysis
At the recent Global Mobile Developer Conference, the Cocos 3D engine was released by touch. At the same time, OGEngine, based on Android, also released a new version and announced that it would support cross-platform platforms.
Cocos2d-x and OGEngine are currently more popular open source free mobile game development engine, and recently is more and more attention by game developers. In China, Cocos2d-x occupies a certain market share, but the growth of OGEngine from the Android community is rapid, and more developers are paying attention to it.
Interestingly, the development trajectory of Cocos2d-x and OGEngine is surprisingly similar: Cocos2d-x and OGEngine are derived from the open source game engine of individual foreign developers. Cocos2d-x originated from the Development of Cocos2d Cocos2d-iphone, based on Cocos2d-iphone to expand cross-platform; and OGEngine from personal developer Nicolas Gramlich developed Android open source game engine AndEngine, based on AndEngine to expand cross-platform. Both are optimized and expanded by Chinese companies and are welcomed by Chinese and overseas developers.
Next we will compare the Cocos2d-x and OGEngine in detail.
Cocos2d-x comes from the Cocos2d-iphone that supports iOS game development, while OGEngine comes from Android game Open Source engine AndEngine. cocos2d-x Based on Cocos2d-iphone, expand Cocos2d cross-platform; using C ++ development, currently supported platforms include iOS, Android, Windows and so on. OGEngine is based on AndEngine and expands the cross-platform Android engine. It is developed using Java and supports Android and iOS platforms.
Since Cocos2d-iphone is developed based on Objective-C, the language supported by Cocos2d-x is C ++. So the use of Cocos2d-x development game developers must use C ++. However, Java developers account for the majority and are constantly expanding. Therefore, a cross-platform open source engine supporting Java is very popular. OGEngine has developed rapidly in this context.
Getting started with Cocos2d-x is more difficult than OGEngine. The Cocos2d-x is poor in Plug-in compatibility and may cause different environments to be incompatible if the developer changes the engine code.
OGEngine is mainly developed using the Java language. However, OGEngine tries to develop C/C ++ local code, such as physical engines and audio processing, in the case of a large amount of computing and time-consuming functions. As a developer, you only need to pay attention to Java. OGEngine has encapsulated all the local code. OGEngine supports Android and iOS platforms, and supports writing iOS games directly using java. More platform support is also being expanded.
The detailed comparison between Cocos2d-x and OGEngine is as follows:
Cocos2d-x and OGEngine have their own characteristics, targeting different developers. For developers, it means they will have more options so that they can create games more conveniently. For the whole industry, the rise of OGEngine will greatly lower the barrier of mobile game development and allow more developers, especially Java programmers, to invest in this industry, create more excellent works.
Link: http://www.oschina.net/news/54366/cocos2d-x-compare-with-ogengine