From fdc8c951fc72d9dc4c8faa58a21b2b9de0599698 Mon Sep 17 00:00:00 2001 From: Schark Date: Tue, 29 Sep 2026 22:28:37 -0400 Subject: Implemented no-panning zones --- platformer/game_feel.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'platformer/game_feel.md') diff --git a/platformer/game_feel.md b/platformer/game_feel.md index 7cd1217..602ded0 100644 --- a/platformer/game_feel.md +++ b/platformer/game_feel.md @@ -213,6 +213,13 @@ keep this model or you'll lose several properties below at once. the player's motion, on whichever side it's already on (`CAMERA_SWING_SPEED` 0.5 rad/s, scaled by how sideways the run is). It never snaps fully behind the player on its own; only the recenter button does that. +- **Locked-pan zones** (`ZONE_LOCKED_PAN`, non-solid boxes from `level_build_zones`, drawn as sparse + black dashes on see-through faces). While the middle of the player's body is inside one, the camera + **doesn't swing behind them** on its own. The stick, recenter, framing/lead room and auto-tilt all + still work. **One box** covers the whole cliff and its climb band (out about 20 m past the south and east + faces, taking in some of the river too) from the ground to exactly the 55 m top, so on the summit + the swing resumes. Crossing platforms one tier below the top (53.5 m) are still inside it. Measured: a 3 s sideways run + swings the camera 1.05 rad normally, and 0.00 inside a zone. - **Auto-tilt.** After **2 s** with no manual camera input (right stick, or a recenter click), pitch eases to **15°**. The motion speeds up gently, cruises at a slow cap, and brakes along the curve `sqrt(2 * accel * remaining)` so it settles exactly on target without overshoot. A pitch set by -- cgit v1.2.3-18-g5258