Players start on a drifting sky barge that crosses the island on a seeded route, then leap and steer down on a wing-sail.
Acceptance
Routes always cross land.
Leap, glide, steering and landing are simulated and tested.
Anyone still aboard at the end of the route is ejected automatically.
A forced-landing test covers all players.
**Depends on:** W1, W2
Players start on a drifting sky barge that crosses the island on a seeded route, then leap and steer down on a wing-sail.
**Acceptance**
- Routes always cross land.
- Leap, glide, steering and landing are simulated and tested.
- Anyone still aboard at the end of the route is ejected automatically.
- A forced-landing test covers all players.
claude
added this to the v0.2 Movement and Island milestone 2026-11-09 05:26:07 +00:00
Drop (src/sim/drop.gd) plans the route from the drop stream: a heading, and a crossing point within BARGE_CENTRE_JITTER of the middle, pulled onto land if it falls over water. The route runs straight between points BARGE_ROUTE_MARGIN inside the world's edges at BARGE_ALTITUDE (150 m), at BARGE_SPEED, which takes about 28 to 56 s.
Simulation.start_drop() boards every player, and late joiners board too while the barge is still flying.
Riders move with the barge and ignore movement input. Jump leaps off with LEAP_CARRY of the barge's speed.
At the end of the route, everyone still aboard is thrown off.
Movement for leapers:
Freefall under gravity, capped at FREEFALL_MAX_SPEED, steering at FREEFALL_STEER_SPEED.
Jump opens the wing-sail. It also opens by itself WING_AUTO_DEPLOY_HEIGHT above the ground, or above the water when the water is deep.
The sail brakes the fall to GLIDE_FALL_SPEED and steers at GLIDE_SPEED, relative to where the player looks.
Within DROP_LAND_HANDOFF of the ground or water, ordinary falling or the water takes over, so landing does no damage.
Drop state and route are in state_hash(). ServerLoop starts every match with the drop, and WanderBot leaps between 2 and 22 s in, at a time fixed by its player ID.
The GDD has a new "The drop" section.
Tests (make check: 151 passed, plus self-check and smoke, p95 tick 0.53 ms with 24 bots now dropping)
Routes always cross land: 60 seeds, each route inside the world, at altitude, at least BARGE_MIN_LAND_METRES (250 m) over dry land, and 20 to 75 s long. Routes are seeded.
Riding, leaping, freefall speed and its cap. Opening the sail by hand, glide sink rate, steering forward and sideways at GLIDE_SPEED, and stopping when you let go.
The sail opens itself between 38 and 40 m up, the landing does no damage, and walking works afterwards. Gliding into the sea ends with the player swimming and unhurt.
Ejection at the end of the route.
Forced landing: 24 players on a real island. A third leap early, a third steer and open their sails high, and a third press nothing and are thrown off. All reach ground or water inside the world at full health.
Determinism and hashing. The server-loop test now checks that a human with no commands stays aboard while the bot leaps and falls.
Open question: the GDD's core loop calls the launch a packet ship, a lifeline mortar and a gull-kite, while this issue says sky barge and wing-sail. Only names and visuals depend on it, and there are no drop visuals yet. I opened #72 (needs-eric, v0.6) with options and a recommendation.
Done in 278b715.
**What changed**
- `Drop` (`src/sim/drop.gd`) plans the route from the `drop` stream: a heading, and a crossing point within `BARGE_CENTRE_JITTER` of the middle, pulled onto land if it falls over water. The route runs straight between points `BARGE_ROUTE_MARGIN` inside the world's edges at `BARGE_ALTITUDE` (150 m), at `BARGE_SPEED`, which takes about 28 to 56 s.
- `Simulation.start_drop()` boards every player, and late joiners board too while the barge is still flying.
- Riders move with the barge and ignore movement input. Jump leaps off with `LEAP_CARRY` of the barge's speed.
- At the end of the route, everyone still aboard is thrown off.
- Movement for leapers:
- Freefall under gravity, capped at `FREEFALL_MAX_SPEED`, steering at `FREEFALL_STEER_SPEED`.
- Jump opens the wing-sail. It also opens by itself `WING_AUTO_DEPLOY_HEIGHT` above the ground, or above the water when the water is deep.
- The sail brakes the fall to `GLIDE_FALL_SPEED` and steers at `GLIDE_SPEED`, relative to where the player looks.
- Within `DROP_LAND_HANDOFF` of the ground or water, ordinary falling or the water takes over, so landing does no damage.
- Drop state and route are in `state_hash()`. `ServerLoop` starts every match with the drop, and `WanderBot` leaps between 2 and 22 s in, at a time fixed by its player ID.
- The GDD has a new "The drop" section.
**Tests** (`make check`: 151 passed, plus self-check and smoke, p95 tick 0.53 ms with 24 bots now dropping)
- Routes always cross land: 60 seeds, each route inside the world, at altitude, at least `BARGE_MIN_LAND_METRES` (250 m) over dry land, and 20 to 75 s long. Routes are seeded.
- Riding, leaping, freefall speed and its cap. Opening the sail by hand, glide sink rate, steering forward and sideways at `GLIDE_SPEED`, and stopping when you let go.
- The sail opens itself between 38 and 40 m up, the landing does no damage, and walking works afterwards. Gliding into the sea ends with the player swimming and unhurt.
- Ejection at the end of the route.
- **Forced landing:** 24 players on a real island. A third leap early, a third steer and open their sails high, and a third press nothing and are thrown off. All reach ground or water inside the world at full health.
- Determinism and hashing. The server-loop test now checks that a human with no commands stays aboard while the bot leaps and falls.
**Open question:** the GDD's core loop calls the launch a packet ship, a lifeline mortar and a gull-kite, while this issue says sky barge and wing-sail. Only names and visuals depend on it, and there are no drop visuals yet. I opened #72 (`needs-eric`, v0.6) with options and a recommendation.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Depends on: W1, W2
Players start on a drifting sky barge that crosses the island on a seeded route, then leap and steer down on a wing-sail.
Acceptance
Done in
278b715.What changed
Drop(src/sim/drop.gd) plans the route from thedropstream: a heading, and a crossing point withinBARGE_CENTRE_JITTERof the middle, pulled onto land if it falls over water. The route runs straight between pointsBARGE_ROUTE_MARGINinside the world's edges atBARGE_ALTITUDE(150 m), atBARGE_SPEED, which takes about 28 to 56 s.Simulation.start_drop()boards every player, and late joiners board too while the barge is still flying.LEAP_CARRYof the barge's speed.FREEFALL_MAX_SPEED, steering atFREEFALL_STEER_SPEED.WING_AUTO_DEPLOY_HEIGHTabove the ground, or above the water when the water is deep.GLIDE_FALL_SPEEDand steers atGLIDE_SPEED, relative to where the player looks.DROP_LAND_HANDOFFof the ground or water, ordinary falling or the water takes over, so landing does no damage.state_hash().ServerLoopstarts every match with the drop, andWanderBotleaps between 2 and 22 s in, at a time fixed by its player ID.Tests (
make check: 151 passed, plus self-check and smoke, p95 tick 0.53 ms with 24 bots now dropping)BARGE_MIN_LAND_METRES(250 m) over dry land, and 20 to 75 s long. Routes are seeded.GLIDE_SPEED, and stopping when you let go.Open question: the GDD's core loop calls the launch a packet ship, a lifeline mortar and a gull-kite, while this issue says sky barge and wing-sail. Only names and visuals depend on it, and there are no drop visuals yet. I opened #72 (
needs-eric, v0.6) with options and a recommendation.