A real-time strategy game

Dawn of Ages

A cozy real-time strategy game in the style of the 1990s empire builders. Gather, build, advance through four ages, and take on computer kingdoms.

The games shed on the valley model, at dusk
The games shed, where Dawn of Ages sits on the valley model. Walk there

Dawn of Ages is a family-friendly take on the classic empire builders. It runs on Apple TV, iPhone, iPad and Mac, and phones can join the TV game over local Wi-Fi as controllers or as their own screens.

There are no outside art files. Every building, unit and tree is a small 3D model built in code, lit, and rendered into sprites while the game runs.

It also plays right here in the browser. That isn’t a remake: the same Swift is compiled to WebAssembly, the 3D sprite baking runs on WebGL 2, and small stand-ins for SpriteKit, Core Graphics and the Mac’s input let the game’s own code run unchanged. Mouse, keyboard and game controllers all work, and on a phone or tablet the iPhone version’s on-screen gamepad appears.

Details

  • About 114,000 lines of Swift and SpriteKit across tvOS, iOS, macOS and now the web
  • The browser version runs the native Swift compiled to WebAssembly, with the Metal sprite renderer ported to WebGL 2
  • More than 3,200 character voice lines, generated and then checked by speech-to-text
  • A headless test harness that plays more than 20 scripted scenarios
A Dawn of Ages town plaza with a palace, fountains and villagers
A Dawn of Ages town plaza with a palace, fountains and villagers.