2d game engine using SDL/OpenGL