A multi-platform 2d graphic engine