Guides
Working with Controls

Introduction to Game Controls

Practically every game needs a sort of controls to let the user control the player avatar (or other game entities) from various input sources like the keyboard, mouse, joystick ...

The scripting API offers a builtin set of controls that cover the common use cases (WASD, first/third person camera mode). You can fine tune the behavior of the controls by varying their paramters. The use of builtin conrols is optional, you can also build your own controls if the existing onces do not meet the game requirements.

The scripting API exports a Controls variable that can be used to create builtin controls.

Content