Home Reference Source Test

References

summary
private

Engine Singleton class.

public

base

summary
public

Baseclass for objects that follow the same ECS pattern of the seed engine.

component

summary
public

Animation component to be added to a GameObject to create animations inline with the global game loop.

public

C Audio

A Component that can be attatched to any GameObject.

public

A 2D Collider Component which can be attached to any GameObject.

public

A 2D Collider Component which can be attached to any GameObject.

public
public

A Collider Component that checks bounds for collisions.

public

A Collider Component that checks bounds only on a plane.

public

A component may be added to any GameObject by using GameObject's function: addComponent(component).

A component should redefine the Updateable functions inherited with custom code to define the Component functionality.

public

A Baseclass for controller components.

public

A Physics Component can be added to any GameObject and will give it physical properties which can be toggled and adjusted.

public
public

Base Renderable Component for all Components that want to draw to the screen.

public

Renderable2D is a renderable component which focusses on 2D shaders and matricies for 2D space rendering.

public

Renderable2DGrid is a renderable component which uses two textures to draw tilemaps using the GPU, and just one renderable.

public

Renderable2DMultitex is a renderable component, similar to the Renderable2D, except it supports multiple textures.

public
public

RenderableText is a renderable component which renders a line of text from a collection of string data.

public

A Controller Component with extra methods designed for controlling a character in a Top-Down Perspective view.

public

A component all GameObjects are given by default on instantiation.

const

summary
public

Default fragment shader which handles single colors and Texture sprite sheets.

public

Fragment shader which takes parameters to draw tile maps.

public

V KeyCode: {"_0": *, "_1": number, "_2": number, "CANCEL": number, "_4": number, "_5": number, "HELP": number, "_7": number, "BACK_SPACE": number, "TAB": number, "_10": number, "_11": number, "CLEAR": number, "ENTER": number, "ENTER_SPECIAL": number, "_15": number, "SHIFT": number, "CONTROL": number, "ALT": number, "PAUSE": number, "CAPS_LOCK": number, "KANA": number, "EISU": number, "JUNJA": number, "FINAL": number, "HANJA": number, "_26": number, "ESCAPE": number, "CONVERT": number, "NONCONVERT": number, "ACCEPT": number, "MODECHANGE": number, "SPACE": number, "PAGE_UP": number, "PAGE_DOWN": number, "END": number, "HOME": number, "LEFT": number, "UP": number, "RIGHT": number, "DOWN": number, "SELECT": number, "PRINT": number, "EXECUTE": number, "PRINTSCREEN": number, "INSERT": number, "DELETE": number, "_47": number, "NUMBER_0": number, "NUMBER_1": number, "NUMBER_2": number, "NUMBER_3": number, "NUMBER_4": number, "NUMBER_5": number, "NUMBER_6": number, "NUMBER_7": number, "NUMBER_8": number, "NUMBER_9": number, "COLON": number, "SEMICOLON": number, "LESS_THAN": number, "EQUALS": number, "GREATER_THAN": number, "QUESTION_MARK": number, "AT": number, "A": number, "B": number, "C": number, "D": number, "E": number, "F": number, "G": number, "H": number, "I": number, "J": number, "K": number, "L": number, "M": number, "N": number, "O": number, "P": number, "Q": number, "R": number, "S": number, "T": number, "U": number, "V": number, "W": number, "X": number, "Y": number, "Z": number, "OS_KEY": number, "_92": number, "CONTEXT_MENU": number, "_94": number, "SLEEP": number, "NUMPAD0": number, "NUMPAD1": number, "NUMPAD2": number, "NUMPAD3": number, "NUMPAD4": number, "NUMPAD5": number, "NUMPAD6": number, "NUMPAD7": number, "NUMPAD8": number, "NUMPAD9": number, "MULTIPLY": number, "ADD": number, "SEPARATOR": number, "SUBTRACT": number, "DECIMAL": number, "DIVIDE": number, "F1": number, "F2": number, "F3": number, "F4": number, "F5": number, "F6": number, "F7": number, "F8": number, "F9": number, "F10": number, "F11": number, "F12": number, "F13": number, "F14": number, "F15": number, "F16": number, "F17": number, "F18": number, "F19": number, "F20": number, "F21": number, "F22": number, "F23": number, "F24": number, "_136": number, "_137": number, "_138": number, "_139": number, "_140": number, "_141": number, "_142": number, "_143": number, "NUM_LOCK": number, "SCROLL_LOCK": number, "WIN_OEM_FJ_JISHO": number, "WIN_OEM_FJ_MASSHOU": number, "WIN_OEM_FJ_TOUROKU": number, "WIN_OEM_FJ_LOYA": number, "WIN_OEM_FJ_ROYA": number, "_151": number, "_152": number, "_153": number, "_154": number, "_155": number, "_156": number, "_157": number, "_158": number, "_159": number, "CIRCUMFLEX": number, "EXCLAMATION": number, "DOUBLE_QUOTE": number, "HASH": number, "DOLLAR": number, "PERCENT": number, "AMPERSAND": number, "UNDERSCORE": number, "OPEN_PAREN": number, "CLOSE_PAREN": number, "ASTERISK": number, "PLUS": number, "PIPE": number, "HYPHEN_MINUS": number, "OPEN_CURLY_BRACKET": number, "CLOSE_CURLY_BRACKET": number, "TILDE": number, "_177": number, "_178": number, "_179": number, "_180": number, "VOLUME_MUTE": number, "VOLUME_DOWN": number, "VOLUME_UP": number, "_184": number, "_185": number, "COMMA": number, "MINUS": number, "PERIOD": number, "SLASH": number, "BACK_QUOTE": number, "_193": number, "_194": number, "_195": number, "_196": number, "_197": number, "_198": number, "_199": number, "_200": number, "_201": number, "_202": number, "_203": number, "_204": number, "_205": number, "_206": number, "_207": number, "_208": number, "_209": number, "_210": number, "_211": number, "_212": number, "_213": number, "_214": number, "_215": number, "_216": number, "_217": number, "_218": number, "OPEN_BRACKET": number, "BACK_SLASH": number, "CLOSE_BRACKET": number, "QUOTE": number, "_223": number, "META": number, "ALTGR": number, "_226": number, "WIN_ICO_HELP": number, "WIN_ICO_00": number, "_229": number, "WIN_ICO_CLEAR": number, "_231": number, "_232": number, "WIN_OEM_RESET": number, "WIN_OEM_JUMP": number, "WIN_OEM_PA1": number, "WIN_OEM_PA2": number, "WIN_OEM_PA3": number, "WIN_OEM_WSCTRL": number, "WIN_OEM_CUSEL": number, "WIN_OEM_ATTN": number, "WIN_OEM_FINISH": number, "WIN_OEM_COPY": number, "WIN_OEM_AUTO": number, "WIN_OEM_ENLW": number, "WIN_OEM_BACKTAB": number, "ATTN": number, "CRSEL": number, "EXSEL": number, "EREOF": number, "PLAY": number, "ZOOM": number, "_252": number, "PA1": number, "WIN_OEM_CLEAR": number, "_255": number}

Keycode ENUM of Key: KeyCodeValue.

public

Default vertex shader that handles 2D matricies (3x3 matricies) to screen space.

internal

summary
public

C Bounds

Two points which represent a bounding square.

public

C Color

A color with r, g, b, a values between 0 and 1.

public

C Point

A point with x, y, z values.

public

Experemental! Still looking at other ways to implement this that would be more useful for the engine, and lower lookup, post, and watch runtimes.

manager

summary
private
private

Manages the connection between the DOM and the Game & Engine.

private

A singleton & Manager.

private

A manager class intended to manage the javascript callback associated with the DOM.

public

Baseclass for all Managers.

private

Manages all Persistent Objects in the Engine.

private
private

Manages WebGL Programs so that they only need to be created once across the engine allowing multiple objects to still share the same reference.

private

Manages the WebGL2 rendering of all renderable components in the scene.

private

A manager which manages all scenes and passes commands to the current scene.

private

Manages textures in the engine so the RendererManager and Renderables can reference one location for Textures.

private
private

Singleton manager that manages all Updateable Objects.

public
public
public
public
public
public
public
public
public
public
public
public

object

summary
public

Baseclass GameObject which derives from Updateable.

public

A GameObject which exists across scenes.

public

A GameObject which exists only on the current active scene.

prefab/ui

summary
public
public
public
public

C UIText

public

render

summary
public

A viewport is a display port on the game canvas.

render/WebGL

summary
public

C Matrix

Baseclass for a Matrix.

public

scene

summary
public

A basic representation of a working scene.

public

C Scene

Baseclass for all scenes.

utils

summary
public

C Loader

Helper class for waiting for async code to complete, before continuing with code.

public

A messager is a managed dictionary that notifies listeners when specific entries in the dictionary are updated.

public

F degToRad(deg: number): *

Converts degrees to radians.

public

F radToDeg(rad: number): *

Converts radians to degress.