Cross-platform 3D game engine