Barebones 2D OpenGL ES Game Engine in C++
  • Written by Sam
  • December 7th, 2011
  • Subject: Code

Barebones 2D OpenGL ES Game Engine in C++

  • Sam
  • darkFunction
  • 2011/12/07
  • Code
  • Published

https://github.com/darkFunction/Turbine

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/

Powered by Dropplets