{
  "version": 1,
  "canonical": "https://ninth-signal.com/journal/the-two-lives-of-asgard",
  "title": "The two lives of Asgard — Ninth Signal",
  "description": "In 2008 I wanted to take a game from one machine to another. In 2026 I wanted to take a battle with me, down to the orders that led to it. Rampart Zero gave the new engine a reason to exist.",
  "language": "en",
  "manifest": "https://ninth-signal.com/representations/index.json",
  "contentHtml": "<article class=\"longform studio-story\"><header class=\"story-header\"><a class=\"eyebrow\" href=\"/journal\">← FIELD NOTES / DEVELOPMENT HISTORY</a><h1>The two lives of Asgard</h1><p class=\"story-deck\">In 2008 I wanted to take a game from one machine to another. In 2026 I wanted to take a battle with me, down to the orders that led to it. Rampart Zero gave the new engine a reason to exist.</p><div class=\"story-meta\"><time datetime=\"2026-11-25\">NOVEMBER 25, 2026</time><span>6 MIN READ</span><span>NINTH SIGNAL / ASGARD TVEIR</span></div><a class=\"text-link\" href=\"#development-chapters-title\">Browse the eight chapters <span aria-hidden=\"true\">↗</span></a></header>\n <figure class=\"authentic-media\"><picture><source type=\"image/webp\" srcset=\"/media/trailers/asgard-volcanic-line-960.webp 960w, /media/trailers/asgard-volcanic-line.webp 1920w\" sizes=\"(max-width:760px) 100vw, 90vw\"><img src=\"/media/trailers/asgard-volcanic-line.webp\" alt=\"A blocky fortress lit orange against dark volcanic ground and battlefield fire.\" width=\"1920\" height=\"1080\" loading=\"lazy\"></picture><figcaption>Rampart Zero on Asgard Tveir, from the November 25 development trailer.</figcaption></figure><div class=\"story-layout\"><aside class=\"story-toc\"><span class=\"eyebrow\">IN THIS STORY</span><a href=\"#chapter-1\">01 / A game you could carry to another machine</a><a href=\"#chapter-2\">02 / The game came first this time</a><a href=\"#chapter-3\">03 / Find out what the tools buy you</a><a href=\"#chapter-4\">04 / Move the battle before you move the picture</a><a href=\"#chapter-5\">05 / Measure the cost of coming back to a battle</a><a href=\"#chapter-6\">06 / Let the games decide what the engine needs next</a></aside>\n <div class=\"story-text\"><section id=\"chapter-1\" class=\"story-chapter\"><span class=\"chapter-number\">01</span><div><h2>A game you could carry to another machine</h2><p>One of the oldest Asgard demonstrations I can trace is from November 2008. It put a first-person camera in a Quake III map and ran through a browser plugin. The plugin mattered because the game was native software and the browser had no straightforward way to run it. The original engine was written in C, growing out of an earlier OpenGL framework. I wanted to bring the same game and assets to different machines without starting again on each one.</p><p>There was a much larger plan in 2009. The engine would sit underneath an editor, a way to package a game and a place to distribute it. The browser demo worked. The full commercial platform stayed on paper. Some of the code turned out to be useful in other places, including a combat-log parser and an in-memory search system. Working on Mac and mobile also made it clear how much had to happen between the word “portable” and an actual build.</p><p>Troids was the most concrete answer I got. It was a small Asteroids-like game with a ship, a score and a reason to keep playing. At the 2012 GDC demonstration, the reported working targets included Linux, Windows, Firefox and Android. OS X and iOS were still unfinished. The source went into a public archive in 2021. That’s when I put it on GitHub, years after I’d built it.</p><figure class=\"authentic-media history-photo history-portrait\"><picture><img src=\"/media/history/troids.webp\" alt=\"Troids running in a Windows window, with a ship, asteroids and a score display\" width=\"482\" height=\"832\" loading=\"lazy\"></picture><figcaption>Troids on the original Asgard. The surviving screenshot was added to the public archive in 2023.</figcaption></figure></div></section><section id=\"chapter-2\" class=\"story-chapter\"><span class=\"chapter-number\">02</span><div><h2>The game came first this time</h2><p>Rampart Zero began in a browser under the name Iron Swarm. In January 2026 I had a TypeScript game with a base, moving vehicles and a minimap. By October I had a campaign, an on-device Commander and a reason to care about the details of a battle long after I’d closed the tab. If a damaged tank failed to get home in a late wave, getting back to the problem could take longer than changing the code.</p><p>That was the problem I wanted the new Asgard to solve in November. I still cared about portability, but the thing I wanted to carry around was a running world. A recorded order should have the same place in that world whether it came from a player, the Commander or a test. I should be able to save the state, restart from it and find out which tick changed the outcome. The browser could keep drawing the battle while a native test ran the rules by themselves.</p><p>The rebuilt engine uses a fixed-tick C runtime, shared between native builds and WebAssembly. A save includes the physics state as well as what you can see on screen. Replay is checked within a given numerical environment. Native and Wasm can run the same game rules, with each tested against its own repeatable results. That distinction lets me make a claim I can actually test.</p></div></section><section id=\"chapter-3\" class=\"story-chapter\"><span class=\"chapter-number\">03</span><div><h2>Find out what the tools buy you</h2><p>I started with smaller workloads. A strategy scenario exercised commands, movement and replay. An EDEN//ZERO action workload asked the engine to deal with a character, a camera and a fight that plays at a much shorter distance. Both gave me something practical to check before I took on the full Rampart Zero campaign. Work on a public SDK could wait until the engine had games to answer to.</p><p>I also wanted to know if the system helped coding agents. In a small comparison, two seeded bugs were tried three ways: in the original TypeScript game, with extra tools on the TypeScript side, and in the Asgard version with its simulation controls. All six trials passed the independent checks. The plain TypeScript setup finished the two localized jobs faster and at lower cost. That was a good result to have on record.</p><p>The thing Asgard let an agent do was different. It could put the world into the situation that mattered, run it and compare what happened after the fix. That was a capability I could make use of. The study was too small to tell me what would happen across a whole game, and had only one run per case. I care more about that honest limit than a claim about how fast an agent ought to be.</p></div></section><section id=\"chapter-4\" class=\"story-chapter\"><span class=\"chapter-number\">04</span><div><h2>Move the battle before you move the picture</h2><p>The complete Rampart Zero port took the rules across in stages. Build a base and make units first. Then bring over research and repairs, advanced ground combat, aircraft, and finally the Titan, endless mode and saves. The browser could keep its familiar controls, audio and Commander while the C simulation took responsibility for the state of the battle. Three.js still drew it at that point.</p><p>The original game and its tests were useful precisely where I thought I already knew the answer. The new port could show a Garage with a job in the queue and still give the wrong account of when the job began or who had placed it. The <a href=\"/journal/asgard-and-the-space-between-ticks\">port investigation</a> follows that difference. Getting a test and the browser to ask the same world became part of what it meant to carry the game across.</p></div></section><section id=\"chapter-5\" class=\"story-chapter\"><span class=\"chapter-number\">05</span><div><h2>Measure the cost of coming back to a battle</h2><p>The full game made it much more expensive to record state. Profiling found that the recorder was walking and encoding data it had already processed. In the development record’s 5,000-tick test on an Apple M5, average recorded-session time dropped from about 1.92 milliseconds per tick to 0.205. The checkpoint comparisons were part of the test. Saving time by dropping part of the battle would have defeated the point.</p><p>Independent worlds could also run alongside one another. The useful result there was that all eight final checkpoints matched their sequential runs. That gives me a way to think about testing several defenses through the same wave without asking one browser to draw all of them. The <a href=\"/journal/asgard-the-cost-of-recording-a-battle\">recording note</a> explains what grew expensive when the engine started recording a whole game.</p></div></section><section id=\"chapter-6\" class=\"story-chapter\"><span class=\"chapter-number\">06</span><div><h2>Let the games decide what the engine needs next</h2><p>On November 22 the new Asgard renderer joined the development build. On November 23 it became the default. Then came the first Asgard trailer, more work on the machines and terrain, and the review pass that caught problems a good-looking capture couldn’t expose. The world underneath the picture and the picture above it had each made the transition on their own terms. The <a href=\"/journal/asgard-the-first-trailer\">first trailer note</a> follows the moment those changes became visible together.</p><p>The first Asgard made it possible to take a small game to several machines. The second gives me another kind of room. I can return to the battle where something went wrong and work on it from the code, a native test or a browser. I use coding agents to make and inspect changes, generative tools to produce assets I can work on in the game, and small local models to interpret what a player says. Those are three jobs, each with its own way of finding out whether it did what I asked. Taking out a round of setup leaves more time for the question Rampart Zero is starting to ask now. When the defense fails, is there enough in the run that you want to try it differently?</p></div></section><a class=\"text-link\" href=\"https://rampart-zero.com\">Explore the game <span aria-hidden=\"true\">↗</span></a><a class=\"text-link\" href=\"https://rampart-zero.com/devlog/how-rampart-zero-became-a-game\">The Rampart Zero Field Report <span aria-hidden=\"true\">↗</span></a></div></div>\n <section class=\"development-chapters\" aria-labelledby=\"development-chapters-title\">\n  <h2 id=\"development-chapters-title\">Chapters in the development history</h2>\n  <ol><li><span class=\"chapter-period\">2008–JANUARY 2026</span><div>\n   <h3><a href=\"/journal/from-a-plugin-to-a-browser-game\">From a plugin to a browser game <span aria-hidden=\"true\">↗</span></a></h3>\n   <p>The original Asgard brought native code into a browser. Years later, a playable strategy game showed what I could build with the browser itself.</p></div></li><li><span class=\"chapter-period\">MARCH–OCTOBER 2026</span><div>\n   <h3><a href=\"/journal/give-the-model-a-smaller-job\">Give the model a smaller job <span aria-hidden=\"true\">↗</span></a></h3>\n   <p>The Commander could move on-device once the game had a clear way to decide what a spoken request was allowed to do.</p></div></li><li><span class=\"chapter-period\">MAY–OCTOBER 2026</span><div>\n   <h3><a href=\"/journal/when-a-mesh-joins-the-game\">When a mesh joins the game <span aria-hidden=\"true\">↗</span></a></h3>\n   <p>The first roster was generated in code. The later asset pipeline had to carry a model from a convincing shape through animation, distance and an actual battle.</p></div></li><li><span class=\"chapter-period\">OCTOBER–NOVEMBER 2026</span><div>\n   <h3><a href=\"/journal/qualify-the-worlds-you-actually-need\">Qualify the worlds you actually need <span aria-hidden=\"true\">↗</span></a></h3>\n   <p>A strategy scenario and an action scene gave Asgard two different jobs before it had to carry a full game.</p></div></li><li><span class=\"chapter-period\">NOVEMBER 15–20</span><div>\n   <h3><a href=\"/journal/carry-the-rules-across-first\">Carry the rules across first <span aria-hidden=\"true\">↗</span></a></h3>\n   <p>The Asgard port kept the original interface in view while moving authority for a complete campaign into the new simulation.</p></div></li><li><span class=\"chapter-period\">NOVEMBER 17–21</span><div>\n   <h3><a href=\"/journal/make-faster-mean-the-same-battle\">Make faster mean the same battle <span aria-hidden=\"true\">↗</span></a></h3>\n   <p>A blocked path and an expensive recording pass were useful tests because the faster build still had to reach the same state.</p></div></li><li><span class=\"chapter-period\">NOVEMBER 22–24</span><div>\n   <h3><a href=\"/journal/put-a-second-picture-on-the-same-world\">Put a second picture on the same world <span aria-hidden=\"true\">↗</span></a></h3>\n   <p>Three.js gave Asgard a reference for everything a familiar view had learned to tell the player, from a selection ring to the direction of a shield.</p></div></li><li><span class=\"chapter-period\">NOVEMBER 25 AND AFTER</span><div>\n   <h3><a href=\"/journal/what-the-engine-has-to-prove-next\">What the engine has to prove next <span aria-hidden=\"true\">↗</span></a></h3>\n   <p>After the first trailer, the harder test is whether the engine can help me learn from a real player’s battle.</p></div></li></ol>\n </section>\n \n <section class=\"read-next\"><h2 class=\"eyebrow\">Keep exploring</h2><a class=\"story-row\" href=\"/journal/asgard-when-the-camera-turns\"><span class=\"story-index\">01</span><div><span class=\"eyebrow\">ENGINE DEVELOPMENT / 4 MIN</span><h3>The smoke changed when the camera turned</h3><p>A camera rotation exposed a lighting problem in Asgard. The same playtest sent me back through the frame budget, construction preview and the simulation’s record of paid research.</p></div><span class=\"circle-arrow\">↗</span></a><a class=\"story-row\" href=\"/journal/asgard-one-budget-for-the-whole-game\"><span class=\"story-index\">02</span><div><span class=\"eyebrow\">ENGINE DEVELOPMENT / 3 MIN</span><h3>One budget for the whole game</h3><p>A phone can draw the battlefield, refresh the HUD and listen for orders. Asking it to do all three at once changed how I think about performance in Asgard.</p></div><span class=\"circle-arrow\">↗</span></a></section>\n <div class=\"story-end-links\">\n  \n  <a class=\"text-link\" href=\"/feed.xml\">Subscribe to Field Notes via RSS <span aria-hidden=\"true\">↗</span></a>\n </div></article>",
  "structuredData": {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "Organization",
        "@id": "https://ninth-signal.com/#organization",
        "name": "Ninth Signal",
        "url": "https://ninth-signal.com/",
        "description": "An independent game studio making games and browser-native research experiments.",
        "logo": {
          "@type": "ImageObject",
          "url": "https://ninth-signal.com/brand/ninth-signal-logo.png",
          "width": 1536,
          "height": 1024
        }
      },
      {
        "@type": "WebSite",
        "@id": "https://ninth-signal.com/#website",
        "url": "https://ninth-signal.com/",
        "name": "Ninth Signal",
        "publisher": {
          "@id": "https://ninth-signal.com/#organization"
        },
        "inLanguage": "en"
      },
      {
        "@type": "CreativeWork",
        "@id": "https://ninth-signal.com/engine#asgard-tveir",
        "name": "Asgard Tveir",
        "url": "https://ninth-signal.com/engine",
        "description": "Why Ninth Signal is building Asgard Tveir, a game engine for inspecting, replaying and testing the worlds behind its games.",
        "genre": "Game engine",
        "creativeWorkStatus": "In development",
        "creator": {
          "@id": "https://ninth-signal.com/#organization"
        },
        "inLanguage": "en"
      },
      {
        "@type": "WebPage",
        "@id": "https://ninth-signal.com/journal/the-two-lives-of-asgard#webpage",
        "url": "https://ninth-signal.com/journal/the-two-lives-of-asgard",
        "name": "The two lives of Asgard — Ninth Signal",
        "description": "In 2008 I wanted to take a game from one machine to another. In 2026 I wanted to take a battle with me, down to the orders that led to it. Rampart Zero gave the new engine a reason to exist.",
        "isPartOf": {
          "@id": "https://ninth-signal.com/#website"
        },
        "about": {
          "@id": "https://ninth-signal.com/engine#asgard-tveir"
        },
        "inLanguage": "en",
        "primaryImageOfPage": {
          "@type": "ImageObject",
          "url": "https://ninth-signal.com/media/trailers/asgard-volcanic-line.webp",
          "width": 1920,
          "height": 1080
        },
        "mainEntity": {
          "@id": "https://ninth-signal.com/journal/the-two-lives-of-asgard#article"
        },
        "breadcrumb": {
          "@id": "https://ninth-signal.com/journal/the-two-lives-of-asgard#breadcrumbs"
        }
      },
      {
        "@type": "BreadcrumbList",
        "@id": "https://ninth-signal.com/journal/the-two-lives-of-asgard#breadcrumbs",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "Ninth Signal",
            "item": "https://ninth-signal.com/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "Field Notes",
            "item": "https://ninth-signal.com/journal"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "The two lives of Asgard",
            "item": "https://ninth-signal.com/journal/the-two-lives-of-asgard"
          }
        ]
      },
      {
        "@type": "Article",
        "@id": "https://ninth-signal.com/journal/the-two-lives-of-asgard#article",
        "headline": "The two lives of Asgard",
        "description": "In 2008 I wanted to take a game from one machine to another. In 2026 I wanted to take a battle with me, down to the orders that led to it. Rampart Zero gave the new engine a reason to exist.",
        "image": [
          "https://ninth-signal.com/media/trailers/asgard-volcanic-line.webp"
        ],
        "datePublished": "2026-11-25",
        "author": {
          "@id": "https://ninth-signal.com/#organization"
        },
        "publisher": {
          "@id": "https://ninth-signal.com/#organization"
        },
        "mainEntityOfPage": {
          "@id": "https://ninth-signal.com/journal/the-two-lives-of-asgard#webpage"
        },
        "about": {
          "@id": "https://ninth-signal.com/engine#asgard-tveir"
        },
        "inLanguage": "en"
      }
    ]
  }
}
