UNPKG

excalibur

Version:

Excalibur.js is a simple JavaScript game engine with TypeScript bindings for making 2D games in HTML5 Canvas. Our mission is to make web game development as simple as possible.

16 lines (15 loc) 515 B
/** * Enum representing the coordinate plane for the position 2D vector in the {@apilink TransformComponent} */ export declare enum CoordPlane { /** * The world coordinate plane (default) represents world space, any entities drawn with world * space move when the camera moves. */ World = "world", /** * The screen coordinate plane represents screen space, entities drawn in screen space are pinned * to screen coordinates ignoring the camera. */ Screen = "screen" }