Definitions, extensions and examples to use Phaser with Kotlin. Go to https://hiperbou.github.io/kotlin-phaser-examples/ to see the examples online.
Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. http://phaser.io
Updated to Kotlin 1.1.51
Uses Phaser 2.6.2
To test examples. Download the example assets from https://github.com/photonstorm/phaser/archive/master.zip and Copy the contents of the folder "phaser-examples/examples/assets" into "examples/assets/assets"