The Database: everything Core loads at boot.

Core

Controls

reactor_controls.js · 366 lines · 21 public functions

The Database: everything Core loads at boot.

What This Module Does

A project may set its own keys and gamepad buttons (Database › Controls, System.json reactorControls); they are applied once at boot as the game's defaults, so a player's own changes in game (a key config screen, a plugin) are never undone. Without them the stock mapping stands untouched. Jump has its own keys and buttons; on a 3D map with jumping on they jump instead of whatever else they do (by default Space jumps there and confirms elsewhere), and leaving the map gives those keys back exactly.

Classes & Namespaces

View reactor_controls.js on GitHub · Show internal (_) functions