A cross-platform 2D game prototyping framework based on OpenGL and C++