traversal
Being a body in Amagiri: walking the flooded valley, wading when the water is over your feet, the camera that watches you do it, and the prompt that tells you when someone is close enough to talk to.
traversal
Being a body in Amagiri: walking the flooded valley, wading when the water is over your feet, the camera that watches you do it, and the prompt that tells you when someone is close enough to talk to.
What it does
| Walk / run | Game.tuning.walkSpeed on foot, runSpeed while sprint is held. |
| Wade | Feet below Game.WATER_LEVEL cut the walk to Game.tuning.wadeFactor of itself — the flood is knee-deep and it shows in how fast you cross it. |
| Camera | The player's rig runs traversal.WanderCam: a damped orbit-follow with a spring arm that pulls in past geometry and an aim point that leads where you are going. |
| Prompt | Screen amagiri_prompt raises the label of the nearest thing in Game.interactables() you are standing inside the radius of, and clears when you walk out. |
| Interact | The interact control — E, the pad's west button, the on-screen button — emits one interact naming that thing, and opens its conversation when one is registered. |
| Two-shot | camera:focus holds the camera on a fixed pose and eases its lens; camera:release gives it back. |
While Game.inputLocked() is set the player does not move and the prompt steps
off the screen, so a conversation owns both.
What it authors onto
The scene's PlayerPrototype — its body and its CameraRig. Nothing here
spawns a player, a camera or an input rig of its own. In edit the prototype is
the live player and the settings land on it directly; in play the prototype is
PrototypeOnly and the same settings are put on the clone the engine minted
for this user, every frame, because a clone carries what the scene authored
rather than what a slice wrote onto the prototype afterwards.
Tuning it
Everything numeric that another slice might want to read lives in
Game.tuning: walkSpeed, runSpeed, wadeFactor, interactRadius. The
camera's framing is fields on WanderCam — the three rings, the damping, the
lead distance and the focus ease — and each one re-poses the rig the moment it
changes, so a shot can be dialled in and seen in edit mode.
Scoped to this part · feeds back into the world's score.