Skip to content

Commit

Permalink
Removed the note about DeleteTiles in 'Updating Legacy Rules'
Browse files Browse the repository at this point in the history
Because no action is required, in fact.
  • Loading branch information
bjorn committed Oct 2, 2024
1 parent b232082 commit 7e7094b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/manual/automapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,6 @@ If you'd like to instead update your rules to not rely on any legacy behavior, t
* If your rules need to take the output of other rules in the same rules map into account, set the [**MatchInOrder**](#MatchInOrder) map property to `true`.
* When deleting your `regions` layers, make sure you weren't relying on them to connect otherwise disconnected areas of tiles. If you were, use the [Ignore]{.tile .ignore} [special tile](#specialtiles) to connect them on one of the `input` layers, so that Tiled knows they're part of the same rule. To make sure the rules behave exactly the same, fill in any part that was previously part of the input region.

* If were using the [**DeleteTiles**](#DeleteTiles) map property, you should consider setting up explicit rules for this instead, using the [Empty]{.tile .empty} [special tile](#specialtiles) in an output layer to erase tiles. This can make your rule more visually clear. Note that you can't delete objects this way.

* If were using the [**StrictEmpty**](#AutoEmpty) map property to look for empty input tiles, you should now use the Empty special tile instead in the cells you want to check for being empty. You can also continue use the **StrictEmpty** property (or its newer alias, **AutoEmpty**), as long as at least one other input layer is not empty at those locations.

* If were relying on the behavior that any tile which is left empty on all of the input layers for a given index is treated as “any tile not in this rule”, you should instead use the [Other]{.tile .other} [special tile](#specialtiles) at those locations, and also the [Empty]{.tile .empty} [special tile](#specialtiles) on an inputnot layer at those same locations. The Empty tile is needed because old-style Other never matched Empty, but the MatchType Other tile does match Empty.
Expand Down

0 comments on commit 7e7094b

Please sign in to comment.