has anyone got an example of using something like ...
# gamedev
c
has anyone got an example of using something like phaser with kotlin js? I found a wrapper library but when I add it as a dependency, it only seems to work in code highlighting, but won't compile in.
h
I made this project a few years ago. https://github.com/hiperbou/kotlin-phaser
c
I saw this! But the 1.3.41 scared me off... when I tried to borrow I got a lot of unresolved imports. Think I need to start my kotlin JS training before I can sink my teeth in. But if I could convince you to maybe look at doing something similar again......... ❤️
I started my own engine in the end, just mimicking the design that phaser has - it seems to be ok for now, the main idea is that I gain knowledge on the eco system a bit so I can decide to try and duplicate your wrapper for phaser 3 at some point (whilst having game code i can just shift over!)
h
I just updated kotlin-phaser with gradle projects so it will be easier to use. Also the definitions for phaser are now available as a dependency. I think this setup will be easier to update to phaser-ce or phaser 3.