Skip to content

MapCliffLook beta ​

Interface of @v12-engine/client

ts
export interface MapCliffLook

A look of the walls of cliffs of its own, painted on the cells of the walls it is for (MapCliff.looks): the north face in strata, a canyon eroded. Two looks side by side blend over a cell, so the walls meet with no gap

Members ​

id ​

ts
id: number;

What the map's layer CLIFF_LOOKS_LAYER holds where it is painted: 1 to 255

name ​

ts
name: string;

What it is called in the editor

rock ​

ts
rock?: Pick<MapCliff, 'texture' | 'pattern' | 'color' | 'scale' | 'adjust' | 'seamless'>;

Its own picture of rock, over the walls' (the map's, or their top tile's) field by field: a texture, or a pattern made in code in a colour, as large, adjusted and seamless as it says. The walls' own where it says none. As many as 15 looks of a map have one

shape ​

ts
shape: CliffShape | false;

Its shape, over the map's (MapCliff.shape) field by field: its style, the style's parameters, how deep, its seed and rocks. How fine a cell is cut (detail) and its corners (round) are the map's, the same for all its walls. false smooth, with no rocks