AutoMap doesn't work


This is my map

rules.txt by the way

rules1.tmx is in the same directory with map.tmx and rules.txt


rules1.txt here,
It doesn’t work :<<<<. Please help me :smiling_face_with_tear:

(limit 3 picture per topic :<<)

That seems like a large area for the rule, why is this?

In any case I’d suggest you remove the “regions” layer. A regions layer is no longer necessary since Tiled 1.9 and including one triggers a compatibility mode that is rather harder to work with due to the way it treats empty tiles within your region.

Try to follow the latest documentation about how to use Automapping.

1 Like

Thanks for your reply,

I’ve already found solution for this:

Set the Input’s variable named Autoempty to True, then
It works,

Thank you again.

Alright, that was indeed an early attempt and improving the behavior for empty tiles within the region, and I’m glad it worked for you!

Since Tiled 1.9, it is still recommended to rely on automatic regions instead and add the “Automapping Rules Tileset” to your rules map (can be done from the Map menu) so you can match empty tiles using its special “Empty” tile explicitly if necessary (but it usually isn’t needed).

1 Like