diff options
Diffstat (limited to '')
| -rw-r--r-- | platformer/README.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/platformer/README.md b/platformer/README.md index 33d509c..5a91052 100644 --- a/platformer/README.md +++ b/platformer/README.md @@ -39,7 +39,8 @@ plus plain box platforms to jump on) *is* the game until the controls feel great frame rate. SM64 ran its logic at 30 Hz. We use **60 Hz** because modern displays and gamepads make the lower input latency noticeable, and the per-tick math stays the same either way. - **An explicit player state machine.** SM64 has Mario "actions" (idle, walking, jumping, and so on). - We start with four states (`IDLE`, `RUN`, `JUMP`, `FALL`) and add more only when a move requires it. + We started with four states (`IDLE`, `RUN`, `JUMP`, `FALL`) and add more only when a move requires it + (so far `SKID`). - **Analog-magnitude movement.** How far you push the stick sets how fast you move. A radial deadzone keeps the full 0..1 range usable. - **Camera-relative controls.** "Up" on the stick means "away from the camera". The player orbits @@ -91,7 +92,8 @@ The game is designed for a gamepad (Xbox-style layout names; GLFW maps other pad | Left stick | move (tilt amount = speed, relative to the camera) | | Right stick | orbit camera (around the player; their spot on screen is kept) | | Right stick click | recenter: swing the camera behind the player, centered | -| A (south button) | jump (hold longer to jump higher); press again within 0.3 s of landing for a second jump 1.75× as high | +| A (south button) | jump (hold longer to jump higher); press again within 0.2 s of landing for a second jump 1.75× as high | +| Left stick pulled back at full run | skid; press A during the skid for a retreat jump (2× height, toward the stick; landing it also opens the second-jump window) | | Back / Select | reset player to spawn | | Start | quit | @@ -188,7 +190,8 @@ Suggested fill-in order (each step can be compiled before moving on): - Richer level geometry: slopes, moving platforms, step-up onto small ledges, hand-built or loaded levels - Camera collision (the camera can currently pass through tall platforms) - Loading levels -- SM64-style extra moves: triple jump, long jump, wall kick, ground pound (the second jump exists) +- SM64-style extra moves: triple jump, long jump, wall kick, ground pound (the second jump and the + skid's retreat jump exist) - Character model and animation - Audio - On-screen text/HUD beyond the FPS counter in the top-right corner |
