Skip to main content
GameDev.net gamedev.net
🔒 Locked

Android Gaming Platform

Started by wfsaxton Mar 9, 2009 at 4:49 PM 6 replies 1.6k views
Original Post
wfsaxton
wfsaxton
Does anyone know of any platforms for gaming development that work well on Android? I've google'd exhaustively and haven't found a single one. If not, would anyone be interested in starting an open source project and creating one? I've played around with Android for a bit and was able to create my own "Snake" game as well as mess around with character animation and collision detection. It just doesn't make sense for me to do everything that a 2D game would entail when there are tons of other people out there that will probably be doing the same thing.
capn_midnight
capn_midnight
I've personally never felt that 2D games were complex enough to warrant a "game engine" sort of project. At the most, a 2D box- or spring-physics library comes in handy, but definitely not needed in the majority of cases. As long as you can draw bitmap images with transparency keys, you really shouldn't need much more from the platform.
Bregma
Bregma
Mmm, Android is Java. The platform is Java. Java is already available as a platform. What exactly are you looking for?
Stephen M. Webb
Professional Free Software Developer
smr
smr
I think he's looking for a game framework like Irrlicht or jMonkeyEngine.

I think a lightweight framework has its place in 2D development. It doesn't need to be anything complex, but it's nice to have some utilities for sprite animation, tiled background scrolling, value interpolation, and other boilerplate code already written. This stuff isn't hard to do yourself, but it's labor intensive and distracts you from the goal of completing your game.

EDIT: To answer the OP... No, I don't know of any framework. I've looked, too. You'll probably wind up writing your own.
wfsaxton
wfsaxton
Quote:
Original post by smr
I think he's looking for a game framework like Irrlicht or jMonkeyEngine.

I think a lightweight framework has its place in 2D development. It doesn't need to be anything complex, but it's nice to have some utilities for sprite animation, tiled background scrolling, value interpolation, and other boilerplate code already written. This stuff isn't hard to do yourself, but it's labor intensive and distracts you from the goal of completing your game.


Or Slick. This is exactly it. Why should I be writing my own collision detection, sprite animation, and side-scrolling algorithms when almost EVERYONE needs this kind of stuff and it, therefore, should already been written!

I wouldn't even have a problem helping port an existing one to Android...if there was an effort to do so.
smr
smr
The author of Slick did port it for a previous version of the Android SDK and had some working examples. I personally think Slick is over designed and is too restrictive as a result. I tried to use it for a java game but came into problems when it came to using the tile map loading and rendering. It made some assumptions that I couldn't get along with.
wfsaxton
wfsaxton
Would there be any interest in making our own then?

I based a lot of my work off of this:

http://www.anddev.org/droidgaming_-_an_easier_way_to_make_games-t3135.html

Perhaps we can use this as a base?
smr
smr
I'm not particularly interested. I have some boilerplate code written for 2D Java applications that could be ported pretty easily. It would take pretty minimal effort to translate to Android, as the only platform dependency is in a single class. The main issue would be performance. It isn't optimized at all. It's pretty reckless with memory, doesn't avoid boxing/unboxing overhead, and doesn't avoid floating point math. It performs well on typical hardware. On a handheld with no FPU, relatively slow processor and restricted memory it would probably be dog-slow.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.