Hullbreaker
Commits
Every published commit of this world, on every branch, newest first.
cdbe4bf730showcase: six gameplay stills from a live run90a9304f0btorch: the plasma torch — cut nodes, heat, overheat lockout, and a plate that comes away
PlasmaTorch on the CameraRig aims a cone from the helmet, burns the weld it
finds, and gauges its own heat on an emissive muzzle nub. CutNode carries
per-weld progress that persists through a lockout. SalvagePiece counts the
three welds, then unparents the plate from Salvage, marks it free, drifts it
into the shaft and emits severed(pieceId, tonnes) exactly once.
torch.inputMap adds the Cut control on keyboard, gamepad and touch.
cutting.module holds the pure aim/heat/colour maths.
CFG.torchHeatRate/torchCoolRate retuned so no weld can be taken in one hold.
---
shell: the run, the O2 clock and the helmet HUD
RunDirector owns the run state machine (briefing -> running -> won/lost),
the air clock that is the real timer, and the two screens the run is read
through. It is the single writer of phase, o2, integrity, banked,
instability and cutsMade; every other slice reports through the game.rules
event bus.
- win on quota banked plus docking at the skiff's cargo maw
- lose on air or suit integrity reaching zero, each with its own card
- consumes severed / deposited / impact, emits phase and instability
- hud.module builds the visor and the cards as pure functions of a run
snapshot, so any state can be rendered without playing to it
- ui.hbstyle carries the palette and the six primitives every panel is
built from
---
hazard: the wreck fights back — pressure vents, structural collapse and drifting debris, gated on instability
---
shell: re-resolve the dock and camera through entity.exists
Reading a property off a despawned entity proxy raises rather than
answering nil, so the cached-proxy guard was the crash rather than the
guard for it. The director now probes liveness with entity.exists and
re-resolves, and the HUD keeps ticking when the scene changes underneath
it.
---
flight: momentum-only 6DOF thrusters, an RCS brake that costs propellant, and the magclamp
The scrapper suit. Thrust adds velocity, nothing takes it away, and the RCS
brake is the only thing that stops you — at nine units of propellant a second,
so stopping is a decision.
Clamp a freed plate and its mass folds into every number: acceleration falls
by 1/(1 + t*k), and braking by that curve to the 3/2 power, so a loaded suit
starts slower and stops far slower. Release it in the skiff's cargo maw and
the tonnage banks.
- game/Scrapper.component the suit, and applyImpulse for outside forces
- game/haul.module mass curves, the freed-plate test, the cargo maw
- game/scrapper.inputMap thrusters, brake and clamp on all three devices
- game/wiring/flight fits the suit to the player's body
---
torch: the free marker survives another slice writing it
`free` is a public Sync field, so anything in the world can set it. This
component now records its own release separately, so a plate whose marker was
set from outside still counts its welds, and severed() still fires exactly
once when the third one goes.
---
torch: README wording for the cutting module
---
flight: fix a word in haul.module's README
---
look: the Kestrel Wake in vacuum — black star sky, procedural hull steel, a real planet, one hard sun
Sky: art.sky.deep_space + hullbreaker_void replace the scene's ProceduralSky.
The authored sky could not be made black — its sun glow is a fixed fraction of
the sun term and its stars are gated on a night factor that is zero whenever
the sun is up — so the whole sky pass is replaced with a sky-domain material:
black void, a three-layer star field on a cube-face grid, a dusty galactic
band, a nebula wash, and the sun as a hard half-degree pinpoint.
Hull: art.hull.hull_steel, a textureless triplanar hard-surface shader. Welded
panel courses, rivet rows, plate-thickness variation, rolled grain, grime and
oxide, all out of one height field whose gradient is the shading normal, so
the seams shade correctly from any light direction. Five materials tune it —
kestrel_hull, kestrel_truss, salvage_plate (yellow/black hazard striping),
skiff_shell, cut_seal (emissive). The three imported bundles now draw through
it too, and their 8K albedos — 23.7 MB for three meshes — are gone.
Planet: art.sky.orbital_body turns the grey sphere into a world with
continents, ice caps, a cloud deck that turns, city lights on the dark side
and an atmospheric limb, and it is scaled so its limb crosses the bottom of
the frame from the player's spawn.
Light: one hard cold sun almost square on the player's right, near-black
ambient, ACES + bloom + vignette, a warm lamp per plate and a cold one in the
cargo maw, suspended dust through the shaft and vent plumes off the pressure
hulls. Distant shadow casters are cut off, because a 1200-unit planet in the
directional cascade shadowed the entire wreck.
All of it is applied from game.dressing on every scene load, in edit and in
play, so it survives a scene rebuild without touching build.luau.
---
fix: the wreck goes back together — a restart that restores the run, a bank that actually banks, and a sun the hull can survive