ALFTANET
← All guides

A cargo pod on a cable: flying Moonhaul

Moonhaul is a moon lander with a cargo pod hanging under it on a cable. Every burn swings the pod, and every swing pulls you back.

I built Moonhaul on 21 August 2026. It is my 16th game, and the first with two bodies that really push and pull on each other.

One contract

A contract is one haul. You start parked on the loading pad, with the pod on the deck beside you and the cable slack. Lift off and the cable snaps tight and plucks the pod into the air. That first swing is the whole tutorial. Then you fly it across the sector, set the pod down on the depot pad, move sideways and park clear of it: slow, level, and with the swing dead. Touch the ground anywhere else and the run is over.

Moonhaul: a small lander rising over grey lunar ground with an orange cargo pod hanging below it on a taut cable, the Earth in the sky and a LOADING pad below
A second after lift-off: the cable has gone tight and the pod swings under a lander tilted 33°. The readout bottom left shows the pod's clearance as well as the lander's.

A cable, not a spring

The physics runs in steps of 1/120 of a second. In each step, if the pod is further from the lander than the cable is long, both are pushed back onto that circle. Then the part of their speed that would pull them apart is removed. Both corrections are shared by mass. The pod weighs 0.39 of the lander on the first contract and 0.74 from contract 8, and the cable grows from 74 to 102 pixels. That sharing is why the pod tugs the lander instead of hanging off it like decoration. When the pod is closer than the cable's length, the cable does nothing at all, as a rope wouldn't.

The cable hangs from the lander's centre of mass on purpose. So it can't twist the lander, and your attitude stays yours. The swing is something you fly, not something that spins you.

Two bugs that looked like good code

Both were found by the test's autopilot, and both are now checks.

A pod on the ground is heavy, not immovable. The first version pinned a resting pod with infinite mass. Fly out to cable length with the pod still down, and the lander stopped dead in mid-air with the engine running. Now a grounded pod acts about four and a half times heavier than a flying one, so it drags across the deck instead.

"Is the cable lifting?" is about direction. The pod should leave the deck when the cable pulls it upward. The first test was how far the cable had stretched. But every step pulls the stretch back to nothing, so the same code kept making its own test false. That version pinned the lander in mid-air for eight seconds. Now the pod lifts once the cable points up from it at more than about 13°.

Fuel ends the run

The lander holds 100 units of fuel and burns 8 a second at full throttle: twelve and a half seconds of full burn per tank. Fuel only arrives at a delivery, and the depot gives less each time: 75 units after the first contract, down to 42 from the eighth. Meanwhile each sector is wider than the last, from 2,050 pixels on the first contract to 3,250 from the ninth. The sectors grow while the top-ups shrink, so the run ends when your flying is no longer efficient enough for the contract, not when the terrain gets you.

Every wasted correction is fuel you won't have later. Fuel left at the end of a run pays three points a unit, but not if you ran dry and got stranded.

Mascons

From contract 3, sectors get mascons: up to four invisible discs of extra gravity, 130 to 190 pixels in radius, pulling towards their centre. They're named after a real thing. The Moon has mass concentrations under some of its plains that tug on spacecraft. My mascons never kill you directly. They spoil a carefully trimmed descent, and a loaded cable swings when it passes through one. They show only as a faint shimmer.

How a delivery pays

Points arrive only at a delivery: 900 plus 120 for each contract number, up to contract 12, scaled by the cargo's condition (never below 35%). A gentle touchdown adds up to 400 and a settled load up to 200.

An autopilot in the test

You can't know a pendulum is flyable until something flies it. So the test carries a real autopilot, with an attitude loop, a speed loop and pulsed throttle. Three seeded runs deliver two or three contracts each, at about 58 points a second. The server accepts 600 a second plus 4,000, about eleven times what the autopilot scores.

The closest relative on the site is Talon, another thrust game, where a grabbed core adds mass to your ship. In Lobshot the physics is all in the shot, and the wind does the swinging.