MapTransition beta
Interface of @v12-engine/client
export interface MapTransitionA texture drawn along the border where two tiles meet: grass next to sand gets a sandy edge of grass, not a blur of one into the other. Only where a map or a game says so: other borders blend
Members
adjust
adjust?: MapTile['adjust'];Its picture changed as it is drawn, and made to repeat without a seam, as a ground's (MapTile.adjust, seamless)
between
between: [string, string];The two tiles, by id, either way round. '' is the ground where nothing is painted, '~water' is water
color
color?: Rgb;The colour a pattern is made in. Between the two tiles' when left out
pattern
pattern?: string;What it is made of in code, where there is no picture: a pattern of the client's (GroundPattern) or of the game's own by id. Dirt when left out
scale
scale?: number;How many cells its picture covers across, and its turn in degrees, as a ground's (MapTile.scale, turn)
seamless
seamless?: MapTile['seamless'];Whether the picture is made to repeat without a seam, as a ground's seamless
texture
texture?: string;A picture of it, by its path in textures/ (see Assets): drawn as it is, and where it is see-through, not at all
turn
turn?: number;Its picture turned, in degrees
width
width?: number;How far from the border it reaches into the cells either side, 0..1 of the way to their middles. 0.6 when left out