← FIELD NOTES / ENGINE HISTORY

Make faster mean the same battle

A blocked path and an expensive recording pass were useful tests because the faster build still had to reach the same state.

Development history · Chapter 6 of 8
Vehicles gathered across a Rampart Zero perimeter
Development gameplay · October 31, 2026 · Actual game footage
01

Use the scene that costs you time

The expensive navigation case appeared when a unit kept looking for somewhere it couldn’t reach. The search repeatedly checked the same obstacles and rebuilt their bounds. Saving those bounds for the query brought down the CPU time markedly in a paired actual-scene test. The result that mattered alongside the timing was the equality of the complete checkpoints.

This is why I try to have a preserved run when I optimize an engine. A pathfinder can look much quicker if it gives up before asking the same questions. If both runs still reach the same recorded world in the cases under test, I have something useful to take back to the game.

02

Make it cheap to leave a record

The full Rampart Zero world made recording expensive for a different reason. It was encoding and hashing a much larger state, often revisiting data within the same recorded tick. In a 5,000-tick full-game recording benchmark on an Apple M5, the reported time fell from roughly 1.92 to 0.205 milliseconds per tick. That result belongs to the recorder, with matching checkpoints in the documented qualification.

Eight parallel worlds also reached the same checkpoints as their sequential versions. Each world advanced on its own. The prospect for game work is to try independent cases in parallel, whether that means eight variations on a defense or several repeats of a problem a player reported. I’m interested in recording and replaying the evidence that tells me where the game changed.

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