Android game engine Summary
1. andengine
Introduction: andengine is developed based on the libgdx framework and uses OpenGL ES to draw images. At the same time, it inherits the box2d physical engine, so it can achieve some complex physical effects. After Rokon is stopped, andengine becomes the most popular Android 2D game engine.
Advantages: (1) high efficiency: use C/C ++ local code for development in the case of high computing workload. For example, physical engines or audio processing.
(2) andengine is an open-source project. developers can modify the source code. Its source code is hosted on GitHub.
(3) particle system, capable of making rain, snow, and other effects, as well as streak (Dynamic Fuzzy) and ratial bule (Radial fuzzy ).
(4): The C ++ end of box2d is encapsulated with JNI to improve the running efficiency. If a physical engine is used in the game, the engine is preferred.
Disadvantages: there are no documents on the official website, and there are few online document tutorials, making it difficult to learn. However, many source codes can be collected online.
Language: Java
Minimum running environment: Unknown
2. Rokon
Introduction: It is an android 2D game engine developed based on OpenGL ES technology. The physical engine is box2d, so it can achieve some complex physical effects, the latest version of this project is 2.0.3 (09/07/10 ).
Advantages(1) The development documentation is quite complete, and the project author is very quick to correct feedback bugs. Therefore, this framework is also widely used at present, someone simply calls it the Android version of The Cocos2d-iPhone engine (the business logic and coding style are indeed quite similar ).
Language: Java
The minimum runtime environment is Android 1.5.
3. lgame
Introduction: It is a Java game engine developed by Chinese people. It has two development versions: Android and PC (j2se). The current highest version is 0.2.6 (31/07/10 ).
Advantages: (1) lgrpaphics package j2se and all graphics APIs provided by j2se (PC adopts graphics2d encapsulation and Android adopts canvas simulation ), therefore, we can apply j2se or j2's development experience directly, and the main code of the two versions can be transplanted to each other. (2) Android has a built-in AdMob interface. You do not need to configure XML to directly hardcode AdMob ad information.
(3) The engine also has built-in j2_genie class and related components based on, which can translate the vast majority of j2_games to Android or PC.
Disadvantages(1) In addition to basic sound effects, graphics, physics, Genie, and other common components, the engine also has built-in encapsulation of common Java components such as IOC, XML, and HTTP, the cost is that the size of jar is relatively large. The PC version has exceeded 1.2 MB, and the Android version is simplified by about KB. (2) The only pity is that the project author is an extremely lazy guy. The development documents have not been provided since last year, and only game examples are available for download.
The minimum runtime environment is Android 1.1.
Language: Java
4. cocos2d
Version cocos2d-iphonecocos2d-xcocos2d-android
Cocos2d-javascriptluaCocos2d
Advantages: The Open Source protocol BSD is used. The website provides a large number of test examples, programming guides, and teaching videos. It is also the most popular development engine.
Cocos2d-android: It is cocos2d Java implementation, and can run on Android, released using the BSD Protocol.
Cocos2d-android-1: Developed by Domestic Developers, he thinks Android development is too slow, so create a new Android implementation to achieve the latest version of the cocos2d-iphone. Released using the BSD Protocol. This branch is currently maintained by Russians.
=====================================Below are two types of 3D game engines ======
Libgdx and jpct can make less efficient 3D games
1. libgdx
Description: libgdx is an android game engine developed based on OpenGL ES technology. It supports 2D game development on the Android platform, and the physical engine is implemented using box2d. In terms of performance, it is a very powerful android game engine,
Disadvantages: (1) the use of relevant components such as the genie class is not simplified enough.
(2) Documents are also scarce.
(3) only the image size to the power of 2 is supported.
2. jpct
Jpct is a very small Android 3D game engine developed based on OpenGL ES technology. To compress the volume, it is released in Multi-jar mode (including alien3d-engine.jar, alien3d-tiled. jar, alien3d-sprites.jar, alien3d-shapes.jar, alien3d-particle 2D. jar,). In fact, its core file is only about 40 kb, and the total of all related jar files is less than kb.
Suggestion I: andengine is a popular engine, and the underlying OpenGL package is better. Some of my colleagues in Beijing are mostly using this development engine. There are also some engines that are somewhat sophisticated when using cocos2d-android, with many examples and many tutorials. The disadvantage is that the cocos2d-android is running on the Java platform, the running speed is not as fast as the use of C/C ++ with JNI encapsulation, in the processing of a large amount of computing resources, mobile phone Configuration Requirements are relatively high.
In addition, unity3d is recommended for the 3D engine, which has the advantage of mature development engines. It has its own independent development client and adopts script-based development instead of simplified development. After several years of development, unity, it is already comparable to unreal, cry, and other top international engines. It can be used across platforms, WP7, IOS, PC, Mac, xbox360, and other terminals. The language is easier to learn than C, closer to Java (JS, C #). the disadvantage is that there are few Chinese tutorials. There are some video tutorials on the Internet. For example, videos that can be used to make angry birds within 10 hours are charged. And unity3d is expensive. I remember it was 1200 knives. Although the cracked version of unity3d can be used in the learning process, the cracked version of the packaged software does not seem to pass the app
Store Review (Google pay is not clear), and the cracked version of the packaged software is nearly 10 times larger than the uncracked package.
I have read a survey. Among game developers, about 40% + developed with unity3d and about 16% + developed with cocos2d. Therefore, in the learning stage, try to use well-known game engines for development. In addition, in recent years, mobile Internet has been developing too fast, so using cross-platform engines will have great advantages in future transplantation and teamwork.
Engine recommendation ranking
2d cocos2d-x> andengine> cocos2d-android
3D unity3d (large 3D games only recommend script engines)
Others, like roken, have not been updated for more than a year because they have obtained a degree similar to a Chinese graduate student. Although roken can be regarded as the best open-source engine, it is not updated by the author, and there are still some minor bugs in the engine that have not been solved. So now there are fewer and fewer roken users. Not recommended
Lggame, never used, never understood