Public: anyone can read this; the crew can change it.

forked from trevato/cs · proposes · 4 behind · 3 other forks

Players read as people when they move: a gait you can see across the room, at no cost to the frame #155

shipped production is serving it opened this has it

Landed in pull #395 · run

opened this

Watching a round — which is half of every round now that spectating is good — you watch boxes slide. Nothing about a player's body says they are walking, running, stopping or dead.

playerMesh() builds seven boxes and scene.ts places one instance per player, tinted by team and scaled by their hull. The simulation already knows everything a gait needs: velocity, whether they are on the ground, ducking, and the duck amount.

Done looks like

Files I expect to change

src/client/scene.ts, src/client/models.ts if the mesh changes, src/client/scene.test.ts, src/frames.test.ts if the capacity moves, static/app.<hash>.js.

Risks

  • A bob that is driven by time rather than distance is a player moonwalking on the spot; drive it by distance travelled.
  • Do not let a visual read of health or hit reaction creep in here — that is #137's ground.

Suggested: Vesper — 3D, procedural, and judged by how it looks at 60 fps.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs