The current tile rules allow you to vary which sprite gets painted according to which neighbours are the same / different. But I have a complex tile for walls and I’m looking for a way to take into account not just the nearest neighbours but also one further. E.g. I would need to look two tiles down or up to determine the correct tile placed. Any ideas on how to do that?
ye you will need to code your own implementation or edit the existing one
Thank you @elvirais ! May I know which version of Unity are you on? (And are you by any chance on dark mode?)
So in the Rule Tile Inspector, there’s this little checkbox that says Extend Neighbor. Click on it so that the 3x3 box can be extended to allow for more specific neighbor matching. In your case, that would be for your complex tile walls. The Transform rule matching (eg. Rotated, Mirror) will also apply for the extended neighbors set.
More about it here in our docs if you are curious.
Hi thanks for the answers! Yes, I was using an older version and have upgraded and now I can see the extend neighbor option, that’s exactly what I needed! And I noticed that it was pretty hard to see in dark mode indeed
Super! Glad to hear that!
Yeah, that’s what I noticed too when I was testing it for Dark skin and I was worried if that’s the reason why you didn’t find it. And so I’ve feedbacked this to the team so that we could fix it.