Utils
BUTTON
BUTTON = { LEFT: 0, MIDDLE: 1, RIGHT: 2, FOURTH: 3, FIFTH: 4 }
Bind for specific button.
PLAYER
PLAYER = {
UP: ['ArrowUp', 'KeyW'],
DOWN: ['ArrowDown', 'KeyS'],
LEFT: ['ArrowLeft', 'KeyA'],
RIGHT: ['ArrowRight', 'KeyD'],
INVENTORY: ['KeyI'],
BAR: ['Digit1', 'Digit2', 'Digit3', 'Digit4', 'Digit5', 'Digit6', 'Digit7', 'Digit8', 'Digit9']
}
Bind for standard player control.