Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

shahardekel
shahardekel
20,306 Points

Android game development in Java?

I've been looking for a framework to develop games for Android, but I'd like to use Java as the programming language instead of learning a new language.

I understand that there are important performance advantages for using C++ (for e.g. Cocos-2dx engine) when developing games for Android, but is there a good game engine or game framework that can be used to develop high quality Android games in Java only?

Can someone please explain the advantages/disadvantages of this?

4 Answers

Ariel Guzman
Ariel Guzman
7,872 Points

My suggestion would be http://libgdx.badlogicgames.com/ . Its pretty great, it has plugins for Eclipse and Android Studio. Besides android you can also make apps for ios, desktop and blackberry.

shahardekel
shahardekel
20,306 Points

Interesting, thanks. Will check that out

Yeah. You're going to want to spend some time looking at the Graphics package. Learn how to draw graphics on the screen. There are books out there. Look it up on Amazon.

Charles Brown
Charles Brown
2,135 Points

Hello Christopher, This may or not answer your question but, I use Unity3D it is great for Java and a very powerful game engine. I have not finished my game yet, but from what I have read it is simple to import into eclipse. I will let you know when I get to that point.

shahardekel
shahardekel
20,306 Points

Thanks Charles, I'd love to hear your opinion.