Oops! I Made a Game Engine
I needed to teach a bunch of non-coders how to write JS, so I built a game engine. Not the wisest choice, but definitely one that taught me much about how game engines work. Follow along as I show you more of the interesting things I learned through this process. We’ll cover things like:
– Drawing on canvas
– Structuring libraries to not need build steps
– Making sounds and music in the browser
– The math behind drawing circles and lines
– Designing JS APIs that don’t suck