JRoberts
JRoberts

Reputation: 105

2D API or OpenGL ES for an Android 2D game?

I'm planning to develop a 2D game for Android devices without a dedicated GPU, like the HTC Wildfire. I remember from the PC that OpenGL is generally to be chosen over something like SDL for 2D graphics because of speed and features.

On Android, there are two APIs for graphics:

Which one should I favor for a 2D game that should run on Android devices without a dedicated GPU?

Upvotes: 6

Views: 2021

Answers (1)

Handsome
Handsome

Reputation: 46

Depends on your experience and the scope of the game really, there are benefits and drawbacks for both. I would watch the Chris Pruett Google IO Lectures, they helped me out a lot when I was first getting started with game dev on Android.

Personally I went with OpenGL over the canvas (or "normal" as you called it) since I was familiar with it already. The game I am working on under this approach works pretty well (with threading and being careful of the GC) even on the old myTouch phones.

Upvotes: 2

Related Questions