Home Reference Source

Variable

Static Public Summary
public

BLUEPRINTS: {"binaryHydrogen": *, "basicMethane": *, "basicBenzene": *, "basicWater": *, "binaryNitrogen": *, "carbon": *, "binaryHelium": *, "ionicSodiumChloride": *, "acidicHydrogenChloride": *, "nuclearLithiumHydrogen": *, "glucose": *, "protonPack": *, "ozone": *, "cyanide": *, "nitricAcid": *}

This constant stores all data that is used to define Blueprints, which define the recipe and behaviors of Compounds.

public

GLOBAL: {"DEBUG": boolean, "VERBOSE_SOCKET": *, "KEY_ESC": number, "KEY_ENTER": number, "KEY_W": number, "KEY_A": number, "KEY_S": number, "KEY_D": number, "KEY_1": number, "KEY_2": number, "KEY_3": number, "KEY_4": number, "KEY_SPACE": number, "BP_SELECT": string, "BP_MAX": number, "BP_TOOLTIP_BLACKLIST": *, "INPUT_COUNT": number, "PLACEHOLDER_NAME": string, "MAX_CHATS": number, "SERVER_IP": string, "LOCAL_HOST": string, "TEST_IP": string, "NO_ROOM_IDENTIFIER": string, "NO_TEAM_IDENTIFIER": string, "ROOM_DELETE_DELAY": number, "COOKIES": *, "COOKIE_DAYS": number, "MAX_SPEED": number, "PLAYER_RADIUS": number, "VELOCITY_STEP": number, "LERP_VALUE": number, "DEADZONE": number, "MAX_HEALTH": number, "PLAYER_ROTATION": number, "PLAYER_EXPEDITED_ROTATION": number, "ATOM_RADIUS": number, "MIN_POWERUPS": number, "MAX_POWERUPS": number, "ATTRACTION_RADIUS": number, "ATTRACTION_COEFFICIENT": number, "ATOM_SPAWN_SPEED": number, "ATOM_SPAWN_DELAY": number, "ATOM_COLLECT_THRESHOLD": number, "MAP_SIZE": number, "SPAWN_POINTS": *, "MAX_SPAWNER_HEALTH": number, "MAX_STRONGHOLD_HEALTH": number, "MAX_NUCLEUS_HEALTH": number, "STRONGHOLD_RADIUS": number, "STRONGHOLD_DEFENSE": number, "DRAW_RADIUS": number, "GRID_SPACING": number, "GRID_LINE_STROKE": number, "FRAME_RATE": number, "TEAM_COLORS": *, "IGNITE_SPRITE": string, "ATOM_IDS": *, "ATOM_SPRITES": *, "SPRITESHEET_DIR": string, "COMPOUND_DIR": string, "EXPERIENCE_VALUES": *, "EXPERIENCE_LEVELS": *, "MAINMENU_MUSICLIST": *, "LOBBY_MUSICLIST": *, "INGAME_MUSICLIST": *, "KILL_SCORE": number, "ASSIST_SCORE": number, "WINNING_SCORE": number, "CAPTURE_SCORE": number, "MAX_DEATH_ATOMS": number}

public
public

TILES: {"empty": *, "flame": *, "topLeft": *, "topRight": *, "bottomLeft": *, "bottomRight": *, "edgeTop": *, "edgeBottom": *, "edgeLeft": *, "edgeRight": *, "hydrogenVent": *, "oxygenVent": *, "nitrogenVent": *, "carbonVent": *, "stronghold": *, "nucleus0": *, "nucleus1": *, "nucleus2": *, "nucleus3": *}

This constant contains all data on how to draw and manage tiles.

public

TILE_NAMES: {"E": string, "O": string, "N": string, "C": string, "H": string, "F": string, "S": string, "q": string, "w": string, "e": string, "a": string, "d": string, "z": string, "x": string, "c": string, "n0": string, "n1": string, "n2": string, "n3": string}

public

TOOLTIPS: {"flammable": string, "stream": string, "inert": string, "block": string, "speed": string, "defense": string, "toxic": string, "acid": string, "base": string}

public
public
public
public

objects: {"players": *, "atoms": *, "compounds": *, "tiles": *}

public
public
public

Static Public

public BLUEPRINTS: {"binaryHydrogen": *, "basicMethane": *, "basicBenzene": *, "basicWater": *, "binaryNitrogen": *, "carbon": *, "binaryHelium": *, "ionicSodiumChloride": *, "acidicHydrogenChloride": *, "nuclearLithiumHydrogen": *, "glucose": *, "protonPack": *, "ozone": *, "cyanide": *, "nitricAcid": *} source

This constant stores all data that is used to define Blueprints, which define the recipe and behaviors of Compounds.

Fields required: Name: The formatted name of the compound to display Unlocked: TEMPORARY. True if it should show up on initial load, false if it needs to be unlocked from playing. Tooltip: Description of compound Texture: Path to image to load Type: Class of compound. Each different type has a different behavior as defined in compound.js. Params: Optional parameters to pass to the compound class associated with the given type. Atoms: How to make the compound. Format is Element symbol: Number required. All excluded atoms will be considered 0.

public GLOBAL: {"DEBUG": boolean, "VERBOSE_SOCKET": *, "KEY_ESC": number, "KEY_ENTER": number, "KEY_W": number, "KEY_A": number, "KEY_S": number, "KEY_D": number, "KEY_1": number, "KEY_2": number, "KEY_3": number, "KEY_4": number, "KEY_SPACE": number, "BP_SELECT": string, "BP_MAX": number, "BP_TOOLTIP_BLACKLIST": *, "INPUT_COUNT": number, "PLACEHOLDER_NAME": string, "MAX_CHATS": number, "SERVER_IP": string, "LOCAL_HOST": string, "TEST_IP": string, "NO_ROOM_IDENTIFIER": string, "NO_TEAM_IDENTIFIER": string, "ROOM_DELETE_DELAY": number, "COOKIES": *, "COOKIE_DAYS": number, "MAX_SPEED": number, "PLAYER_RADIUS": number, "VELOCITY_STEP": number, "LERP_VALUE": number, "DEADZONE": number, "MAX_HEALTH": number, "PLAYER_ROTATION": number, "PLAYER_EXPEDITED_ROTATION": number, "ATOM_RADIUS": number, "MIN_POWERUPS": number, "MAX_POWERUPS": number, "ATTRACTION_RADIUS": number, "ATTRACTION_COEFFICIENT": number, "ATOM_SPAWN_SPEED": number, "ATOM_SPAWN_DELAY": number, "ATOM_COLLECT_THRESHOLD": number, "MAP_SIZE": number, "SPAWN_POINTS": *, "MAX_SPAWNER_HEALTH": number, "MAX_STRONGHOLD_HEALTH": number, "MAX_NUCLEUS_HEALTH": number, "STRONGHOLD_RADIUS": number, "STRONGHOLD_DEFENSE": number, "DRAW_RADIUS": number, "GRID_SPACING": number, "GRID_LINE_STROKE": number, "FRAME_RATE": number, "TEAM_COLORS": *, "IGNITE_SPRITE": string, "ATOM_IDS": *, "ATOM_SPRITES": *, "SPRITESHEET_DIR": string, "COMPOUND_DIR": string, "EXPERIENCE_VALUES": *, "EXPERIENCE_LEVELS": *, "MAINMENU_MUSICLIST": *, "LOBBY_MUSICLIST": *, "INGAME_MUSICLIST": *, "KILL_SCORE": number, "ASSIST_SCORE": number, "WINNING_SCORE": number, "CAPTURE_SCORE": number, "MAX_DEATH_ATOMS": number} source

public MAP_LAYOUT: undefined[] source

import {MAP_LAYOUT} from 'atomblast.io/src/client/js/obj/tiles.js'

public TILES: {"empty": *, "flame": *, "topLeft": *, "topRight": *, "bottomLeft": *, "bottomRight": *, "edgeTop": *, "edgeBottom": *, "edgeLeft": *, "edgeRight": *, "hydrogenVent": *, "oxygenVent": *, "nitrogenVent": *, "carbonVent": *, "stronghold": *, "nucleus0": *, "nucleus1": *, "nucleus2": *, "nucleus3": *} source

This constant contains all data on how to draw and manage tiles.

Fields required: type: Choose one: spawner, teamBase, wall params: Different for each type. For example, spawner will require the atomToSpawn param, and teamBase will require the teamName param. texture: String path of the texture file for this texture, starting in the map folder. (ex. 'foo.png' corresponds to '../../assets/map/Tiles/foo.png')

public TILE_NAMES: {"E": string, "O": string, "N": string, "C": string, "H": string, "F": string, "S": string, "q": string, "w": string, "e": string, "a": string, "d": string, "z": string, "x": string, "c": string, "n0": string, "n1": string, "n2": string, "n3": string} source

import {TILE_NAMES} from 'atomblast.io/src/client/js/obj/tiles.js'

public TOOLTIPS: {"flammable": string, "stream": string, "inert": string, "block": string, "speed": string, "defense": string, "toxic": string, "acid": string, "base": string} source

public cookieInputs: * source

import {cookieInputs} from 'atomblast.io/src/client/js/app.js'

public joystick: VirtualJoystick source

import {joystick} from 'atomblast.io/src/client/js/app.js'

public mouseDown: boolean source

import {mouseDown} from 'atomblast.io/src/client/js/pixigame.js'

public objects: {"players": *, "atoms": *, "compounds": *, "tiles": *} source

import {objects} from 'atomblast.io/src/client/js/socket.js'

public selectedBlueprints: * source

import {selectedBlueprints} from 'atomblast.io/src/client/js/app.js'

public selectedCompound: number source

import {selectedCompound} from 'atomblast.io/src/client/js/app.js'

public teamColors: {} source

import {teamColors} from 'atomblast.io/src/client/js/socket.js'