Tileset and tiles
Create a tileset
Section titled “Create a tileset”- Import the PNG with the tiles as a sprite and slice it at the tile size, in the sprite editor.
- In Resources, + › New tileset… and pick the Sprite.
Tiles are numbered like the sprite frames, starting at 0.
Collision
Section titled “Collision”In the tileset tab, pick an option under Paint and click the tiles:
| Option | What it does |
|---|---|
| Nothing | The tile does not block. |
| Cell | Blocks the whole cell. |
| Shape | Blocks only where there is drawing. The box can be adjusted on the selected tile. |
Create a Tiles layer in the Layers panel. With it active, the Inspector shows the palette.
| Tool | Shortcut | What it does |
|---|---|---|
| Brush | B | Paints with the chosen tile |
| Eraser | E | Erases. The right button erases with any tool |
| Bucket | G | Fills the contiguous area |
| Eyedropper | Alt + click | Picks the tile from the room |
- Dragging in the palette picks a block of tiles, painted as a stamp.
- Each stroke is one undo step.
Terrain brush
Section titled “Terrain brush”A terrain is a 3 × 3 block of tiles (corners, edges and center). With it, the brush picks the right tile by looking at the neighbors.
- In the tileset tab, under Terrains, + Terrain, and click the top-left tile of the block.
- In the room, pick the terrain under Terrain, in the layer Inspector.
Limits
Section titled “Limits”- Tiles do not change while the game is running.
- There are no animated, mirrored or rotated tiles.
- A one-way platform is made with an object, not with a tile.
