Copy of Phaser 1.6 for academic purpose