Thanks to Phaser, Kotlin and kotlin-phaser, I could finish hard work porting Samsara for HTML5. Kotlin’s crosspiling is an awesome feature you should experience!

As I’ve been developing Samsara using libGDX that can publish a project for Android, iOS, Desktop, and HTML5, I thought to port for HTML5 is a piece of cake. When I started the work, I realized libGDX doesn’t support Kotlin for HTML5! Only support JAVA project.

After some research, I found Kotlin’s javascript crosspiling and kotlin-phaser project. Unfortunately, it seemed there’re no developers use kotlin-phaser, it looked risky. But hiperbou, developer of kotlin-phaser, had done to port every example of Phaser so that I could make a decision.

Thank you hiperbou. You’ve done a great work!