Editing a rule
Rules are grid patterns that will decide if a specific tile should be painted on your layer.
To open the rule editor:
Here is a simple rule:
It says “Paint the tile if” :
- in any given cell, there is a “walls” IntGrid value (white)
- AND there is no “walls” value above.
And here is another one:
This second one means: “Paint the tile if any given grid cell contains a “walls” value“.
Testing the rules
We should now have the following rules:
If you paint “walls” values to your IntGrid layer, the tiles will be drawn automatically:
Seeing actual data
If you press SHIFT+R key (or uncheck the Render option) in the Rules panel, you will see the “pure” IntGrid layer, without the tiles: