Asgard Tveir
I’m building Asgard Tveir so I can change a game without losing the battle that made me want to change it.
In Rampart Zero, a damaged tank can leave its post for a Repair Bay. When it stops halfway there, I want the battle that led to that decision. I want to see its orders and what changed along the route, then put the world back and try the next move again.
Read the history of Asgard Watch Rampart Zero on Asgard Tveir Follow an orderRun the rules on their own
A late wave can take a long time to set up. It may depend on which units survived the last fight, which buildings still have power, and the orders a player gave ten minutes earlier. I want to keep those conditions so I can ask the same question again after changing the game.
In the Rampart Zero development build, the rules run in WebAssembly in the browser and the interface draws the world from its snapshots. The same simulation can run in a native test with no window. A saved checkpoint gives both ways of working a starting point. Recorded orders give me a way to advance from there, and the world reports what those orders actually did.
The renderer has its own job. It makes the battle readable, and there’s room to change it while continuing to test the rules behind the battle. On wave nine of a development run, the battlefield stopped updating while the HUD and the simulation carried on. The game clock in the trace gave me a way to distinguish a stalled view from a stalled battle. That changed the investigation. I could keep the run and look at what the renderer had been asked to draw, with the original presentation available as a point of comparison.
Read about the renderer in a real battleWhat happens after an order
Send the tank to the Repair Bay. Every step gives you something you can check again.
Order
A player, the Commander or a test submits a command with a known source.
Simulation
The world applies the game’s rules when it advances. The route, other vehicles and the bay shape what happens.
Result
The browser draws a snapshot. A headless test can inspect the orders, events and state behind it.
Replay
Restore a checkpoint and apply recorded commands to revisit that part of the battle.
Who placed the Garage?
During the Rampart Zero port, a Commander task could stay open while the player built a Garage by hand. For that stretch of time, the browser could give the player’s action the Commander’s name. An ordinary click had borrowed someone else’s authority.
The regression holds a Commander power task open, places the Garage through the normal hotkey and click, then lets the task finish. The orders on either side belong to the Commander. The Garage in the middle belongs to the player. That is what the test now checks.
Knowing who gave the order matters in a fight. It can affect whether another system may override it. The bug crossed a boundary I care about as a player. I had given the Commander a job and was still free to use the controls while it worked. The two actions needed to stay independent even when they reached the game close together.
The useful thing about the regression is that the Garage can appear in the right place and the test can still fail. Its visible position is only part of the outcome. When I save a battle, I want the decisions in it to remain legible too, including the origin of an order and what the game did with it.
Read the Garage investigationGive an agent the battle
A coding agent can already run a headless game test and inspect whether the simulation reached the expected state. A good task comes with a specific situation and a question you can answer. Restore the stalled tank, apply the orders, and see whether it reaches the bay and returns to its post.
I want more ordinary playtest reports to arrive with that kind of evidence. A repeatable run can make a repair bug easier to find and show whether a save restores the same pending orders. It also gives me something specific to review when an agent fixes the bug. I can compare the old and new runs and ask where the behavior began to differ. If the change reaches into how vehicles yield to one another, I have a reason to look at what it did to the rest of the line.
There’s still a decision to make after the test passes. A tank can get fixed every time and spend so long doing it that I stop relying on the Repair Bay. I build the engine to get back to that decision sooner, with a battle I can actually play.
Where it stands
Rampart Zero is the engine’s first full game test. The invitation playtest now runs the campaign, checkpoint saves and the on-device Commander on Asgard, which also draws the battlefield. The browser uses WebGPU where it can and falls back to WebGL 2. The browser and native tests let me keep checking the rules as those parts of the game evolve.
EDEN//ZERO has also supplied an action-physics experiment. I want Asgard to hold up in games where the time between a button press and a dodge can matter as much as the rules of a long campaign. Those games will tell me which parts of the engine deserve the next round of work.
Explore Rampart ZeroField Notes on Asgard
- The two lives of Asgard
From the original portable engine and Troids to Rampart Zero on Asgard Tveir.
- The smoke changed when the camera turned
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.
- One budget for the whole game
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.
- When the battle is interrupted
A checkpoint request can outlive the connection that carries it. The latest Asgard review followed that problem across the desktop host, the renderer and the game that depends on both.
- A second faction in the same world
The biggest Swarm building in the first lineup was a sensor tower that belonged in a much smaller space. Making a playable faction meant deciding how far the art could depart from the structures and rules underneath it.
- What the Forge has to keep
All 44 Forge assets passed a side-by-side review. Then an Orbital Uplink turned far enough to clip its own building. The rebuild had preserved the rig and changed the geometry the rig depended on.
- The battlefield gets a desktop
The first native Mac build put the familiar Rampart Zero interface over a Metal battlefield. Then the window lost focus and parts of the game stopped moving.
- The build behind the invitation
The invitation link was still serving the TypeScript game after Asgard had taken over the campaign and the renderer in development. The next test started at that link.
- The battlefield should hold still
What the Dust Basin’s moving grain, the Alpine conifers, and a stale radio call taught me about where to put the work in Asgard Tveir.
- The battle has to read at two distances
Rampart Zero’s latest trailer gets close enough to see the smoke roll and the armor move. The harder test is what those effects tell you from above.
- The highlight got brighter after the fix
Why the renderer review needed the approved image and a windowed build.
- The first Rampart Zero trailer on Asgard Tveir
What the first public trailer shows about the engine and the battle it draws.
- The sky was painting the tanks
Why the livery pass changed the way the renderer handles gloss, wear and faction color.
- One shot, one barrel
How a twin-barrel weapon helped set the standard for Asgard’s move to the default renderer.
- The renderer had to get through wave nine
What changed when Asgard’s renderer had to handle a real Rampart Zero battle.
- The cost of recording a battle
What the audit changed about checking a recorded world.
- Asgard Tveir and the space between ticks
What an old Garage test revealed about when a game can report the result of an order.
- Asgard Tveir and the order that survived the save
Why a restored battlefield needs to remember an order that moved nothing.