Editing Tile Layers¶
Tile Layers are what makes Tiled a tile map editor. Although not as flexible as Object Layers, they provide efficient data storage and good rendering performance as well as efficient content creation. Every new map gets one by default, though feel free to delete it when you're not going to use it.
The primary tool for editing tile layers is the Stamp Brush. It can be used to paint single tiles as well as larger "stamps", which is where it gets its name from. Using the right mouse button, it can also quickly capture tile stamps from the currently active layer. A tile stamp is commonly created by selecting one or more tiles in the Tilesets view.
The Stamp Brush has some extra features:
Shift, click any two points to draw a line between them.
Ctrl+Shift, click any two points two draw a circle or ellipse centered on the first point.
Activate the Random Mode using the dice button on the tool bar to have the Stamp Brush paint with random tiles from the tile stamp. The probability of each tile depends on how often it occurred on the tile stamp, as well as the probability set on each tile in the Tileset Editor.
In combination with the Tile Stamps view, it can also place randomly from a set of predefined tile stamps. This can be more useful than the Random Mode, which randomly places individual tiles.
The Terrain Brush allows for efficient editing with a certain type of corner-based terrain transitions. Setting it up requires associating terrain information with your tiles, which is described in detail in Using the Terrain Tool.
Similarly to the Stamp Brush, you can draw lines by holding
Shift. When holding
Ctrl, the size of the editing area is reduced to one
corner (this currently doesn't work well in combination with drawing lines).
Alt, the editing operations are also applied at a 180 degree
rotation. This is especially useful when editing strategic maps where two sides
need to have equal opportunities. The modifier works well in combination with
Shift for drawing lines or
Ctrl for reducing the edited area.
Bucket Fill Tool¶
The Bucket Fill Tool provides a quick way of filling empty areas or areas covered with the same tiles. The currently active tile stamp will be repeated in the filled area. It can also be used in combination with the Random Mode.
Shift, the tool fills the currently selected area regardless of
its contents. This is useful for filling custom areas that have been selected
previously using one or more Selection Tools.
A simple eraser tool. Left click erases single tiles and right click can be used to quickly erase rectangular areas.
There are various tile selection tools that all work in similar fashion:
Rectangular Select allows selection of rectangular areas (shortcut:
Magic Wand allows selection of connected areas filled with the same tile (shortcut:
Select Same Tile allows selection of same-tiles across the entire layer (shortcut:
By default, each of these tools replaces the currently selected area. The following modifiers can be used to change this behavior:
Shiftexpands the current selection with the new area
Ctrlsubtracts the new area from the current selection
Shiftselects the intersection of the new area with the current selection
Managing Tile Stamps¶
It can often be useful to store the current tile stamp somewhere to use it again later. The following shortcuts work for this purpose:
Ctrl + 1-9- Store current tile stamp (similar to
Ctrl + C)
1-9- Recall the stamp stored at this location (similar to
Ctrl + V)
Tile stamps can also be stored by name and extended with variations using the Tile Stamps view.