five-on-it / packages/catalogue/src/region/spec
packages/catalogue/src/region/spec
The level spec of the region template: a stretch of land on a grid of 64 m tiles (tiles.json), its ground shaped by named features (hills, mountains, plateaus, valleys, lakes, volcanoes; ski runs painted down a flank) over a base level, in one of the biomes. The land's heights are the levels of its tiles' corners, shared by the tiles that meet there, as RollerCoaster Tycoon's are: neighbouring corners differ by a level at most (two round a mountain), so every tile is one of a few shapes and every seam matches. The outermost corners are at level 0, where the world's flat ground goes on, and so are the two tiles in the middle of the southern edge, where the players start. Roads of five classes are laid over the tiles, from where they start to where they go, and towns stand on them, their streets following the hills and valleys. See Tiles.