Skip to content

adoptTileset beta ​

Function of @v12-engine/engine

ts
export declare function adoptTileset(map: GameMap, tiles: readonly string[]): string[];

Brings the paint of a map in line with a game's tiles, in place: afterwards index 1 is the game's first tile, and so on. What was painted with a tile the game does not have keeps it, under an index after the game's: the map loses nothing, and the file has it still. Returns the names of those, which no world is given