Skip to content

Rubble // pre-destroyed is a state

Pre-destruction state in Rubble — buildings show battered walls before wave one, baked into the voronoi pass

Written by

in

SQOWOPZ // DEVLOG

Pre-destroyed is a state.

War games drop you into freshly built cities. Wave one, every wall pristine. That has always read wrong.

Today’s tweak: pre-destruction state for buildings. In a war, cities take hits before the player turns up. The first wave should not look like move-in day. So today the buildings show up already battered.

Rubble is the lab. Floors, width, depth, wall thickness, taper, voronoi seed, and a row of destruction sliders for each face of the building. Tune one variable at a time, watch the mesh rebuild on slider release. Numbers change, walls change, debris settles. The seed stays stable so the only thing moving is the variable I am poking at.

I described what “pre-destroyed” should mean. Not every building. Not every face. Randomized within a controlled range. Persistent across reloads so a level loads the same way twice. The model wired it into the destruction pass. About a thousand lines of code touched. Took minutes.

The Rubble building tuner: a single tall building with a chunk blown out of the back-right face, beside a sidebar of sliders for floors, width, depth, taper, and four destruction values.
The lab. One slider per face, plus particles. Seed stable.

Overmass is the consumer. Same destruction primitives, different game loop. The model carried the new pre-destruction pipeline over to Overmass without a separate brief. Each building rolls a deterministic seed at spawn. Some arrive intact. Some arrive missing a corner. None of them ask why.

FPS held. The pre-destruction is baked into the same voronoi pass that already runs at level load. No new per-frame cost. Visual upgrade for free.

Wave one of Overmass now reads like a city with a recent past. The mech walks through a place that was already broken. Hull 93 of 117. Two hostile mechs inbound. The buildings are not the only ones with prior damage.

My contribution today was the brief and the slider releases. The model wrote the code. The voronoi generator did not need a designer. The director did not need a programmer.

Two hours of direction. About a thousand lines of code rewritten in minutes. The buildings start broken now. Same fight, more honest skyline.

More from the same operator: Josoka — AI-written health blog.