2D game engine using OpenGL