CharacterKeys
The keys characters() walks, jumps and aims on, each left out keeping
its default: W, A, S and D with the arrows to move, Space to jump, and no
keys to aim. An empty list drops a key, as jump: [] does for a game
that never jumps.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
aim? |
VectorKeys |
Keys that aim the character, read in the camera’s view as the move’s are, such as the arrows in a twin-stick game whose move keeps W, A, S and D alone. None by default. |
jump? |
readonly KeyCode[] |
- |
move? |
VectorKeys |
- |