R – OpenGL ES as a 2D Platform

graphicsiphoneopengl

I've seen a lot of bandying about what's better, Quartz or OpenGL ES for 2D gaming. Neverminding libraries like Cocos2D, I'm curious if anyone can point to resources that teach using OpenGL ES as a 2D platform. I mean, are we really stating that learning 3D programming is worth a slight speed increase…or can it be learned from a 2D perspective?

Best Answer

GL is likely to give you better performance, with less CPU usage, battery drain, and so on. 2D drawing with GL is just like 3D drawing with GL, you just don't change the Z coordinate.

That being said, it's easier to write 2D drawing code with Quartz, so you have to decide the trade-off.

Related Topic