Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art

Introduction: Gaming and Animation

Author: Ian Darwin -- Published? true -- FormatLanguage: W




Gaming is obviously an important part of what people used to use "computers" for and now use mobile devices for, and Android is a perfectly capable contender in the graphics arena, providing support for OpenGL ES.

If you want to use some advanced gaming features without having to write a lot of code, you're in luck, as there are many "games development" frameworks in existence today. Many of them are primarily or exclusively for desktops. The ones shown below are known to be usable on Android; if you find others, please add a Comment to this Recipe.

Android Game Frameworks
Name Open Source? Cost URL Notes
AndEngine Y $0 http://www.andengine.org/
Box2D Y 0 http://code.google.com/p/box2d/
Cocos2D Y 0 http://www.cocos2d-x.org/download Both C++ and HML5 platforms
Corona SDK ? $199+/year http://www.coronalabs.com/
Flixel Y $0 http://flixel.org/index.html
libgdx Y $0 http://code.google.com/p/libgdx/
ngCore No $?? https://docs.mobage.com/display/WWNGCORE/ngCore+Client+Home
OpenAphid Y http://openaphid.github.io/ _discontinued_
PlayN (formerly ForPlay) Y $0 http://code.google.com/p/playn/
rokon Y 0 http://code.google.com/p/rokon/
ShiVa 3D N E169.00+ each for editor and server http://www.stonetrip.com/
Unity N $400+ http://unity3d.com/unity/publishing/android.html

You will need to compare the functions that each offers before committing to use one or another in your project.

See Also:

The book Beginning Android 4 Games Development by Mario Zechner and Robert Green.

No records found.