← FIELD NOTES / ENGINE HISTORY

From a plugin to a browser game

The original Asgard brought native code into a browser. Years later, a playable strategy game showed what I could build with the browser itself.

Development history · Chapter 1 of 8
Troids running in a Windows window, with a ship, asteroids and a score display
Troids on the original Asgard. The surviving screenshot was added to the public archive in 2023.
01

The browser used to be a destination

The original Asgard grew out of my OpenGL work in 2008. I could put a first-person camera inside a Quake III map and show it in Firefox through a plugin. The point was to get the same C game technology onto several machines. The plugin gave that technology one more place to run, with another build and another set of platform details to keep working.

Troids narrowed the problem to something I could demonstrate. At GDC in 2012 I reported it running on Linux, Windows, Firefox and Android. OS X and iOS were unfinished. A broad plan for an editor, packages and distribution lived alongside the engine, but the working game was the part that could tell me how much of the portability I actually had.

02

Start where the game can run

By the time I began Rampart Zero, I could make a browser the first platform. Three.js drew it, Rapier handled physics, and the battle and interface started in the same TypeScript application. I could put a playable base on screen quickly and spend time on movement, production and the pressure of the next wave.

Owning the engine came back into the story once I knew what the game needed from one. I wanted to stop rebuilding a late battle by hand whenever an order went wrong. The original Asgard taught me to test portability with a game I could run. Rampart Zero gave Asgard Tveir the same standard, this time for a world I could save, inspect and run again.

Explore the game The Rampart Zero Field Report
Subscribe to Field Notes via RSS