Real-time strategy · Wildfire Games

0 A.D.
History is yours.

The full real-time strategy game by Wildfire Games, compiled to WebAssembly: the original engine, simulation, interface and AI, rendered with WebGL 2. No installation.

View source ↗
A 0 A.D. strategy match with a city and troops
Unofficial community port · Experimental

Your civilization.
Your story.

Build your civilization and lead your army. Real-time strategy from Wildfire Games, now in your browser too.

Open source · GPL-2.0-or-later
WebGL 2 · WebAssembly
Single player · Desktop
No installation ↗
Open by nature

What this is

A community port built on the original game, with room for new experiences.

01 / Engine

The original engine

The original C++ engine (Pyrogenesis) built with Emscripten, with the original game data, simulation, GUI and Petra AI. Nothing is reimplemented in JavaScript.

02 / Browser

Made for the browser

SpiderMonkey 128 runs the game scripts inside WebAssembly; the AI runs on its own thread.

WebGL 2 rendering, with frames capped at 30 FPS.

03 / Data

Load once. Play again.

Game archives are streamed in blocks and kept in IndexedDB, so a second visit starts quickly.

One engine. New ways to play.

Demos built on 0 A.D.

Two experiences built as mods of the same game. Discover what each one offers and choose your next adventure.

Experimental demos for desktop. They share the engine and data of 0 A.D.; they are not separate games in the collection.

Get ready to play

Requirements

Desktop, a compatible browser and your next strategy.

  • A compatible desktop browser with WebGL 2 and WebAssembly JSPI support.
  • A desktop computer with a capable GPU, mouse and keyboard. Development and the measurements below used Chrome 155 on an NVIDIA RTX 3060 Laptop GPU; other GPUs are untested.
  • The Docker version uses WebGL 2; WebGPU is temporarily disabled.
The community behind the game

Credits and licenses

Credits and licenses →

0 A.D. is a free, open-source game developed by Wildfire Games and its community. Its code is licensed under the GNU GPL version 2 or later and its art and audio under CC BY-SA 3.0 (details in LICENSE.md); this port keeps those licenses. The source code of the port, including all changes to the engine, is in its repository.

This port is not affiliated with or endorsed by Wildfire Games. Report problems with the browser version to the port, not to the 0 A.D. developers.

Original 0 A.D. repository ↗