Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

CharacterInputDeclarations

CharacterInputDeclarations = object

The five inputs a character steps on, as defineCharacterInputs makes them and characters() lists them under inputs.

heading: AngleInputDeclaration

The camera’s heading, which the move is read in.


jump: ButtonInputDeclaration

The jump, an edge button on Space by default.


move: VectorInputDeclaration

The move stick, on W, A, S and D and the arrows by default.


pitch: AngleInputDeclaration

How far the camera looks above level: her aim while she strafes.


strafe: ButtonInputDeclaration

Whether she faces the heading, which the camera’s lock holds.