Since Aseprite v1.3 you can create tilemaps with tilesets.
What is a tilemap? A tilemap is a special kind of layer where each grid cell on the canvas is a reference to a tile (a little image) in its tileset. You can create a new tilemap from Layer > New > New Tilemap Layer or pressing Space+N.
What is a tileset? As its name says, it's a set of tiles, just like the color palette which is a set of colors. Each tile has an index and can be re-used in different position in the canvas on each tilemap grid cell.
Example:
We can compare a tilemap with an indexed image:
Tilemaps | Indexed Color |
---|---|
Tile: One little image that can be reused in several places of a Tilemap Layer | Palette entry: One RGBA color that can be reused in several places of an Indexed Image. |
Tileset: A collection of tiles of the same size. | Palette: A collection of RGBA colors (palette entries). |
Tilemap Layer: A 2D image where each pixel is a “tile index” that references a tile in the tileset. Each tilemap has a specific tileset associated. | Indexed Image: A 2D image where each pixel references a palette entry with an index. |
Tile Index: A value from 0 to N (where N=number of tiles in the tileset, and 0 is the empty tile) | Palette Index: A value from 0 to N-1 (where N=number of palette entries) |
When you are in a Tilemap Layer, there are 2 main modes, you can switch between these modes pressing Space+Tab:
When we draw pixels in a tilemap, we are modifying the content of each tile, but there are three special modes that indicate how we should handle these modifications between tiles:
SEE ALSO