Chapter 13. Gaming and Animation
Gaming is an important activity that people used to perform on “computers” and now perform on mobile devices. 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 game-development frameworks in existence today. Many of them are primarily or exclusively for desktops. The ones shown in Table 13-1 are known to be usable on Android; if you find others, please add a comment on this book’s website, and we will incorporate it into the online version and eventually into a future revision of the published book.
Name | Open source? | Cost | URL |
---|---|---|---|
AndEngine |
Y |
Free |
|
Box2D |
Y |
Free |
|
Corona SDK |
N |
Free and Enterprise editions available |
|
Flixel-gdx |
Y |
Free |
|
libgdx |
Y |
Free |
|
PlayN |
Y |
Free |
|
rokon |
Y |
Free |
|
ShiVa3D |
N |
Free, basic, and advanced licenses available |
|
Unity |
N |
Free and paid plans available |
A list of Android-compatible game frameworks is also maintained on this book’s website.
You will need to compare the functions that each offers before choosing one for your project.
13.1 Building an Android ...
Get Android Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.