Overview
The canvas for painting an autotile map. Paint materials such as "wall" or "grass" into grid cells, and the connected rules automatically choose the correct tile for each position: corners, edges, and interiors. This is the workbench for the rule-tile workflow.
Usage tips
- The minimal setup is
rule_set_preset(tile set + rules) → rule_canvas. That alone enables painting and automatic tile selection. - The most important concept is that you paint a material, not a tile. The rules determine which tile is placed.
- Export the resolved result (
resolved) to Tiled withtiled_map_export.
Related nodes
rule_set_preset— supplies the go-to setup; start hererule_set_editor— creates and customizes rulesrule_render/rule_animation_render— renders outside the canvastiled_map_export— exports the map
What this node does
Paint grid cells in the dedicated editor (Edit Rule Canvas) and output the result
as a RuleCanvas. When a rule tile set and rule set are connected, the node also
outputs the resolved result (RuleResolved) and a preview image immediately. It
replaces the legacy Tile Map Canvas.
Key settings
| ID | Name | Description |
|---|---|---|
width / height |
Width/height | Number of cells in a new canvas. |
cell_width / cell_height |
Cell width/height | Pixel dimensions of one tile. |
canvas_data |
Canvas data | JSON stored by the editor. Do not edit it directly; use the editor. |
Example wiring
RuleSetPreset.tile_set -> RuleCanvas.tile_set
RuleSetPreset.rule_set -> RuleCanvas.rule_set
RuleCanvas.resolved -> TiledMapExport.resolved