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

CharacterInputDeclarations

CharacterInputDeclarations = object

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

aim: VectorInputDeclaration

The way the player aims the character on the ground, in world axes, or none.


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 while the character strafes.


strafe: ButtonInputDeclaration

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