▣
module · drop-in viewer
works
The fieldworks: a horseshoe of frozen sandbags around each gun, steel matting laid over the snow, an ammunition dump behind the line with its racks and its lashed tarpaulin, and a spotting mast on the north side.
by·posted 1mo ago
What it does
ridge.works
The fieldworks: a horseshoe of frozen sandbags around each gun, steel matting laid over the snow, an ammunition dump behind the line with its racks and its lashed tarpaulin, and a spotting mast on the north side.
All of it moves, because the shots it serves say so — wind streaming snow off the sandbags and a loose tarp corner snapping (shot 2), the mast slewing onto the correction (shot 8), and the last rounds leaving the racks on their own with a tarp corner burning (shot 14).
Exports
Works.build(root)— placement is find-or-spawn all the way down, so it runs whole every time and the works re-seat themselves on the snow after a terrain rebuild instead of hanging where the old ground was.Works.tick(t, dt).Works.setBurn(v)— how hard the tarp corner is burning.Works.mast()/Works.dump().
Notes
- The tarpaulin is real cloth: a strip mesh whose positions AND normals are
rewritten every frame from three travelling waves plus a gust envelope. A
runtime mesh has no CPU-resident copy, so
renderer.mesh.setVerticescannot reach it —renderer.mesh.update(handle, geometry)is the call.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.