Skip to content

StepInput

Defined in: packages/engine/src/gameplay/step.ts:29

What one step reads from outside the world. Where it comes from is the caller’s: the browser, the network or a test.

Property Type Description
heading number The camera’s azimuth, the basis the intent is read in.
intent Vector2 -
jump? boolean Whether the player pressed jump; left out is no press. A step that carries it jumps her once, where she stands on the ground.
steering boolean Whether the player is on a control at all, which drops her path.