Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Are any such things available to help me build my Android game?

share|improve this question

closed as not constructive by Tetrad Jun 21 '12 at 12:51

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

15 Answers 15

I think you could use the game Replica Island from Chris Pruett as an example of a 2d game. I think it is supposed to be a base for other games as it is explained in this video from the Google I/O 2010. You could watch the game here.

share|improve this answer
    
Yeah, thats a good video, definitely worth a watch especially when he talks about efficiency. –  Spidey Jul 14 '10 at 20:06
add comment

Rokon looks pretty good, haven't tried it myself but it seems pretty active.

share|improve this answer
add comment

Unity3D (which can technically be used to make 2D games) is "coming soon" for Android: http://unity3d.com/

share|improve this answer
    
Yup I totally agree. Secondly, if you pay for Unity3D licenses, you can publish same work for multiple platforms. So you start with FREE WINDOWS/MAC licens. Learn the program. Then upgrade the licens to what ever platform you see fit first. Currently Android though, is only PRO edition which means you need Unity3D PRO + Android PRO = $3000... –  BerggreenDK Dec 29 '10 at 23:54
add comment

cocos2d for Android is based on the iPhone cocos2d library. I'm not sure how usable it is at the moment but it's worth checking out.

share|improve this answer
add comment

AndEngine is pretty new, but it is open source and looks promising.

Self-description:

Free Android 2D OpenGL Game Engine. AndEngine is developed by Nicolas Gramlich.

share|improve this answer
1  
I've done a little experimenting in this, coming from Cocos2d on iPhone, and it seems pretty nice so far for sprite based 2d games. The project seems active and has a decent forum community around it. –  Matt Guest Aug 30 '10 at 20:13
    
About AndEngine... I started making a pretty basic game and after a while I started finding negative review about AndEngine especially its performance with lots of sprites. So, I did a test and added 20 sprites to my game while still in early dev. I did everything "by the book" and it nearly murdered my HTC desire Z. Pretty disappointed and switching to LibGDX. –  Digital Architect Jul 27 '11 at 6:00
    
@AscensionSystems I don't know what you did there, but I know you were doing it wrong. With a Desire Z you can easily have hundreds of moving Sprites on the screen. Simply run the benchmarks in the examples and you'll see how to do it right. –  Nicolas Gramlich Oct 19 '11 at 9:19
    
Thanks Nicolas I appreciate the fact that you're "sticking up" for your engine but frankly I wasn't doing anything wrong. It has something to do with android and a bug with VBO's calls also triggering the GC. I could get andengine working fine by disabling VBO's but that also made my phone get so hot it would glitch out after about 5 minutes of play. I had the same issue with libGDX, so I wrote my own engine in C++. Also you can't get "hundreds" on the screen using the examples app. I could get about 90 128x128, 2 "frame" animated physical sprites before it would lag with your engine. –  Digital Architect Oct 22 '11 at 22:48
    
(continuted)... in my engine I can get 170, 512x512, 16 "frame" animated physical sprites on the screen before I see my framerate even start to dip below 60 fps. –  Digital Architect Oct 22 '11 at 22:49
add comment

androidbox2d is the android port of Box2D. Box2D is a feature rich 2d rigid body physics engine.

share|improve this answer
add comment

There's an Android port of SDL currently underway, and SDL is probably the best 2D graphics framework out there. It was designed by one of the leads at Blizzard, so you know some real expertise in game building has gone into it.

share|improve this answer
add comment

I'm working on an open source 2d game engine called YoghurtGum which is supposed to be for both Windows Mobile and Android. However, porting the whole thing to Android C++ has proven extremely hard.

This is most unhelpful answer ever, I'm well aware.

share|improve this answer
add comment

I port Irrlicht on Android and use it for 2D games. It is not the best solution but I have strong performances. I tried many Java Frameworks but the Garbage Collector can lag your games during 0.2s on G1 phone... So the framework should do allocation very carefully.

Commercial C++ frameworks:

  • unity3D: very good (available on Android, iOS, Web, Windows, OS X) [Game: Rocket Bunnies]
  • Unreal Engine (commercial): the best engine but not for beginners [Game: Dungeon Defenders]

Open Source C++ frameworks:

  • Ogre3D: the best open source 3d engine but it is a large framework
  • Irrlicht: good performance, light framework [Game: Moblox]
  • Linderdaum Engine: open source for Windows and Android
  • Cocos2d-x: open source cross platform

Java Open Source Frameworks:

  • AndEngine (Open Source): good performance. For documentation, look examples and read source code; but it is the Free library to begin a game project [Game: Drop Block]
  • cocos2d for Android: Garbage Collector problem
  • SDL is not a good idea because it is designed for framebuffer access.
  • rokon: good performance and designed for mobile but project seems dead.

Physics Engine:

  • box2d (OpenSource): fast and easy
  • jbox2d (OpenSource): so slow on Java that I made a JNI wrapper with SWIG to use native box2d (AndEngine does the same)
  • chipmunk (OpenSource): fast but I prefer box2d
  • bullet (OpenSource): excellent 3D engine

Warning, with Froyo and JIT, Java libraries perform much better. But the Garbage Collector problems are always valid. With Gingerbread, the garbage collector is continous so no problem.

share|improve this answer
1  
I'd also like to add cocos2d-x, it is on the MIT license and works on both Android, iOS, and Windows Phone. I believe this is different than what was mentioned above since this one is specifically in C++ not Java. –  Jamornh May 23 '12 at 18:19
    
AndEngine borrows the box2d wrapper from libgdx. –  Matsemann May 24 '12 at 15:46
1  
Unity3d is not C++. It supports C#, a Javascript dialect and boo –  lhk Dec 27 '12 at 11:22
add comment

If you fancy developing in AIR for Android then you could use Flash. Flash itself doesn't have any game specific features, really, but thanks to Flash's success on the web there are a huge amount of 3rd party libraries for it especially designed for games.

Some of the more popular 3rd party frameworks for games in Flash include Flixel (http://flixel.org/) and PushButtonEngine (http://pushbuttonengine.com/), which are fully designed for game development. Flash also has a version of Box2D (physics engine mentioned above - http://box2dflash.sourceforge.net/) and there are various 3D libraries, such as Papervision (http://code.google.com/p/papervision3d/) if you want to go down that road in the future.

The main disadvantage of developing in AIR, though, is that I'm pretty sure that you'll need to target Froyo 2.2 or later, though, so older handsets will get left out.

share|improve this answer
    
In addition to AndEngine, I've been playing with the AIR for Android Betas, and they are pretty nice, if a little slow. I think it'll work well for strategy games, or action games without too many elements. I've been working with the beta on 2.1 though, so the final release on 2.2 might be significantly fast, I'm not sure yet. Definitely something to watch. –  Matt Guest Aug 30 '10 at 20:16
add comment

I am surprised that nobody mentioned libgdx. http://code.google.com/p/libgdx/

share|improve this answer
    
libgdx and AndEngine are best for 2d, here you can find some more link –  michael Mar 9 '11 at 13:21
    
@michael AndEngine forum tutorial sticky: just use a fork of a fork of AndEngine ... a lot of trouble, bugs. I don't recommend to learn it from there. –  matheszabi Oct 5 '13 at 23:46
add comment

SIO2 Game Engine. Just released a new version with full Android Support. You can build 2D and 3D games using it and port between different platforms. http://sio2interactive.com

share|improve this answer
add comment

Slick2D and GOLDEN T GAME ENGINE

share|improve this answer
    
+1 for Slick2D -- I've done a little bit with it and it seems pretty solid. The developer has released a couple of Android games based on it, too. –  mrohlf Aug 30 '11 at 17:54
add comment

PlayN is a multiplatform 2D game framework that targets Android in addition to HTML5, Flash and JVM. It is somewhat new, but was used to write the HTML5 implementation of Angry Birds, and has a reasonably active community.

share|improve this answer
add comment

Cocos2D-x is a port of Cocos2D for iPhone written in C++ targeting the Android NDK and is actively being developed to achieve feature parity with the iPhone version. It won't have garbage collection issues, and you will get a relatively easy port to iOS, Win32, and probably eventually OSX in the near future.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.