It’s mostly because our last game, Flood Escape, was released more than two years ago, so I didn’t have any new project to make the switch from Phaser 2 to 3 (if you don’t count the recent Meditations demo). I tried recreating the same functionality and added new one to the mix, mostly because Flood Escape outgrew the v2 template with new features. It’s still “just” a static template, with no build steps, and minification left to the developer though.
I’m quite happy with how it works now. New design looks better (thanks to Ewa of course), and resembles Enclave Games’ branding. I’ve created the new Settings page and split the audio into sound and music, and added Credits. There’s also new multilanguage support, keyboard controls, and WebFont lib handling custom fonts - all taken from Flood Escape.
As Phaser 3 dropped native support for having a button on top of the sprite object, I decided to write my own - given I got used to the one from Phaser 2 I wanted to have the same functionality and structure. It’s a short and simple piece of code, but definitely saves time writing code. Recreating tweens, animations, particle and camera effects was a breeze and took only a fraction of time. I haven’t touched PWA support much, but added something extra though.
There’s new concept of using Web Monetization right inside the browser. I’ll probably write more about it in the near future, but for now let’s say the basic integration is already built into the template. You can take advantage of that by replacing my address with yours in the meta tag to receive funds.
I’m really happy we were able to release it. Now, let’s make some games with it! And if you happen to make some of yours be sure to drop us a message - we’ll be happy to share it with the rest of the community!