GameConfig.js 446 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
var Config = {
  MAX_GAZE_POINT_AGE: 500,
  MAX_NUMBER_OF_ENEMIES: 10,
  TARGET_RADIUS: 100,
  DEFAULT_PLAYER_DAMAGE: 5,
  ENEMEY_SPAWN_DELAY: 1000,
  FPS_BUFFER_LENGTH: 50,
  BACKGROUND_COLOR: "#333",
  DEFAULT_ENEMEY_COLOR: "#dd3939",
  DEFAULT_GAZE_POINT_RADIUS: 15,
  DEFAULT_GAZE_POINT_COLOR: "#4cd494",
  DEBUG_POSITION_OFFSET: 10,
  DEBUG_FONT: "16px ShareTech",
  DEBUG_COLOR: "#ffffff",
};

Object.freeze(Config);

export default Config;