2D platformer in c++ and OpenGL ES 2.0