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.7.10
Uses Phaser 2.6.2
To test examples: Download the example assets from https://github.com/hiperbou/kotlin-phaser-examples/archive/refs/heads/master.zip and Copy the the "assets" folder into "examples/src/main/resources"