W7: The drop: sky barge and wing-sail
Simulation.start_drop() plans a seeded straight route across the island at BARGE_ALTITUDE, through a point near the middle pulled onto land, and puts every player aboard. Riders move with the barge; jump leaps off with some of its speed. Freefall steers and tops out at FREEFALL_MAX_SPEED; jump opens the wing-sail, which also opens by itself WING_AUTO_DEPLOY_HEIGHT above the ground or water. Gliding sinks slowly and steers at GLIDE_SPEED, and the sail folds just above the ground or sea so landing does no damage. Anyone aboard at the end of the route is thrown off. Drop state is hashed. Every server match now starts with the drop. Bots leap at a time fixed by their player ID. The carrier's name and look are open in #72. Closes #14 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+12
@@ -105,6 +105,18 @@ Each prop has the health in `PROP_KINDS` and blocks players with one box. When i
|
||||
destroyed its box goes at once. Both server and client place the same props from the
|
||||
seed, so only damage is match state.
|
||||
|
||||
### The drop
|
||||
|
||||
Every match starts with the drop, simulated in [`src/sim/drop.gd`](../src/sim/drop.gd).
|
||||
A carrier crosses the island at `BARGE_ALTITUDE` on a straight route drawn from the seed.
|
||||
The route passes within `BARGE_CENTRE_JITTER` of the middle and always crosses at least
|
||||
`BARGE_MIN_LAND_METRES` of dry land. Players ride it until they press jump, then fall,
|
||||
steering at `FREEFALL_STEER_SPEED`, up to `FREEFALL_MAX_SPEED`. Jump opens the sail, and
|
||||
it opens by itself `WING_AUTO_DEPLOY_HEIGHT` above the ground or water. Under the sail
|
||||
they sink at `GLIDE_FALL_SPEED` and steer at `GLIDE_SPEED`, and touch down without damage.
|
||||
Anyone still aboard at the end of the route is thrown off. The carrier's name and look,
|
||||
sky barge or the packet ship and mortar of the core loop above, are open in #72.
|
||||
|
||||
## Tide phases
|
||||
|
||||
`TIDE_PHASES` is an ordered list of phases. Each one sets:
|
||||
|
||||
Reference in New Issue
Block a user