darkFunction
7Dec/110

Barebones 2D OpenGL ES Game Engine in C++

I wrote this a while ago. I was planning to write an iPhone game with it, but then realised life is too short to create Yet Another Engine when I could just be using one of the many superior open source alternatives. Perhaps somebody will find it useful.

All the legwork of setting up a 2D OGLES environment, loading and packing images into textures, and drawing these sprites from the textures is done. The texture packing algorithm I used can be found here:

http://www.blackpawn.com/texts/lightmaps/

And here is the subversion repository:

svn checkout http://xp-dev.com/svn/Turbine/branches/dev .