Avatar
👾

Organisations

Links

Introduction

I’ve been searching for a nice WebGL game framework for a while. I tend to experiment with emscripten every couple of months, and occasionally I do end up creating something with a mix of raylib and lua (using c bindings). The problem is always the same though, and it’s the incredibly manual nature of setting up every minor detail… Granted, that’s mainly due to me wanting to use lua over straight c, but I’ve just not “got on” with out-of-the-box solutions like LÖVE as the web player just wouldn’t work for me (at the time anyway) and other solutions like wasmer do look great, but the learning curve is just too high.

I’ve not tried any javascript engines before, mainly just as js can be so quirky and it always just seems like compiling to WebAssembly is going to be a better approach. But more recently I’ve stumbled on Phaser, which is billed as a “Desktop and Mobile HTML5 Game Framework” and, it’s nicer to work with than I thought! Very easy to follow, and has very nice documentation and examples.

Here are a few demonstrations of what it can do, using my Skoolkit disassemblies:

  1. Booty Goldfish Game: The long hidden secret game in Booty!