Cross platform 2D/3D game library