Dev blog
How Pikefall is built
Pikefall is a tower defense game written in plain JavaScript. There is no engine, no framework, no build step and not a single image or sound file: every sprite, map, sound and particle is made by code while the game runs. These posts are about the decisions that made that work, and the measurements that changed our minds along the way.
Replays without recordings: a deterministic game loop in the browser
How a fixed timestep, one random stream and an action log let a run fit in a chat message and be checked by anyone.
A tower defense game with no asset files
Every tower, enemy and map in Pikefall is drawn by code as the game runs. What that costs, and the measurements that made it fast.
Plucked strings and struck bells: a game score in Web Audio
Why the score is a consort rather than an orchestra, how its instruments are synthesised, and three bugs in the tool that measured it.