Skip to content

MapBeyond beta ​

Interface of @v12-engine/client

ts
export interface MapBeyond

What lies beyond the part of the map play happens in (GameMap.bounds), as the fog of war draws it: as dim as ground explored once, whatever is seen there, and fading from the bounds towards the map's edges into a colour. Scenery around the play, going off into the dark or the mist

Members ​

brightness ​

ts
brightness?: number;

How bright it is drawn at the bounds, 0..1: as explored ground (0.42) when left out

color ​

ts
color?: Rgb;

The colour it fades into at the map's edges: where the map has mist (MapEnvironment.mist), the mist's colour (its ground mist's, its fog's or its sky's, as the mist itself is coloured); black where it has none

fade ​

ts
fade?: number;

How many cells before the map's edge the fade starts: all the way from the bounds when left out