Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixing Tiles #369

Open
superfrantv opened this issue Apr 27, 2023 · 3 comments
Open

Mixing Tiles #369

superfrantv opened this issue Apr 27, 2023 · 3 comments

Comments

@superfrantv
Copy link

image

Hello, shown in the picture, there are 2 Rule-Overwrite-Tiles with the same setup, i need to connect them to each other, also if possible to setup "Border-Tiles" that have a special look, depending on the neighbor tile from the other "Rule Overwrite Tile".

How can i archive this?

@ChuanXin-Unity
Copy link
Collaborator

Hi, would the border tiles look like a mix between the white and the brown terrain that you have?

We have an example Custom Rule Tile in https://github.com/Unity-Technologies/2d-techdemos/blob/master/Assets/Tilemap/Rule%20Tiles/Custom%20Rule%20Tile/Custom%20Rule%20Tile.unity which may helps to mix in two terrains together. Do let us know if your usage is similar or something different!

@superfrantv
Copy link
Author

Hello, yes i want to mix it.

At first I thought that a rule overwrite tile ensures that the other "tile" is regarded as related and the rules also apply, but apparently not.

@ChuanXin-Unity
Copy link
Collaborator

Hi, no, it does not. You would need to write a Custom Rule Tile such as the one in the example to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants