2D multiplatform game engine