summaryrefslogtreecommitdiff
path: root/platformer/README.md
diff options
context:
space:
mode:
authorSchark <jordan@schark.online>2026-09-24 14:16:26 -0400
committerSchark <jordan@schark.online>2026-09-24 14:16:26 -0400
commitddbaf66281986ed50133b7eaa92c37ef9dbb5636 (patch)
tree36c093a7a67cb922951048dd50debd7c14e40f15 /platformer/README.md
parent09beb96d7227ff2467b6c0e6fb404f2b99768a54 (diff)
downloadgamedev-ddbaf66281986ed50133b7eaa92c37ef9dbb5636.tar.gz
gamedev-ddbaf66281986ed50133b7eaa92c37ef9dbb5636.zip
Improve left/right visibility, slow pan towards back
Diffstat (limited to 'platformer/README.md')
-rw-r--r--platformer/README.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/platformer/README.md b/platformer/README.md
index f97c9dd..26f6fc2 100644
--- a/platformer/README.md
+++ b/platformer/README.md
@@ -47,11 +47,15 @@ game until the controls feel great.
- **A framing camera, not a leash.** Like Lakitu, the camera doesn't pin the player to the center of
the screen. A player standing inside the resting zone leaves the camera completely still. The zone
sits 5% inside the rule-of-thirds lines, except that its top edge is at half the window height, which
- keeps the view ahead open for upcoming obstacles. While running, they can drift 5% past the zone
- (to the thirds lines at the sides and bottom, and just above halfway at the top). When they stop,
- the camera eases until they sit on the zone's edge. Off-center shots are intentional: they're
- where the cinematic feel comes from. Clicking the right stick glides the camera behind the player
- with them centered, and the zone rules pick up again from there.
+ keeps the view ahead open for upcoming obstacles. Running toward or away from the camera lets the
+ player drift 5% past the zone (to the bottom thirds line, or just above halfway at the top). Running
+ sideways is different: the camera works ahead of the player, carrying them to the *trailing* thirds
+ line so there's open screen in the direction they're heading, and slowly swings toward ~30° off
+ directly behind them. Controls stay camera-relative, so holding sideways through the swing makes the
+ player arc, SM64-style. When they stop, the camera eases until they sit on the zone's edge.
+ Off-center shots are intentional: they're where the cinematic feel comes from. Clicking the right
+ stick glides the camera behind the player with them centered, and the zone rules pick up again from
+ there.
- **A drop shadow for depth.** A dark blob directly under the character is the most important depth
cue in a 3D platformer, and it tells you where you'll land.