- Home /
Combining different Tilemaps,How to combine different Tilemaps ?
Hello,
ive created a dungeon generator which creates the rooms out of different prefabs. Every roomprefab has it own tiles and tilemaps.
In the final result i would have 30 different tilemaps for 10 rooms. Every room has a tilemap for floor, background walls and foreground walls.
I want the whole generated map to have only 3 tilemaps. 1 for every floortile, 1 for every bg walltile and 1 for every fg walltile.
Is it possible to merge those different tilemaps after those rooms are generated ? Because i would like to set some different room wall setups. Meaning generating smaller rooms out of them by using the same roomsize, therefore i need those ruletiles to work to make those walls not look ugly.
i hope you know what i mean, english is not my native language, sorry for that.
Thank you for your time!
-Justin
Answer by zh4r0naX · Jul 09, 2018 at 07:04 PM
Okay ive got it working. Iam reading out the position and the tile of every tile in my generated world. Creating some Lists of them and finally rebuild the whole scene with SetTile.
Hey I know this comment is already one years old, but I'm facing the same problem (connect different rooms/tilemaps) and I am researching on how to approach it. Would you $$anonymous$$d elaborating on how you did it?
Hi well it wasn’t good in the end. I switched to super tilemap editor where you can have tile groups which will then connect with each other.
I took an invisible tile on the corners with the same group as the floor to make them still „connect“.
Hope this is clear to understand.
Greetings.
Your answer
Follow this Question
Related Questions
How do I make the Collider match the sprite? 2 Answers
Get tile coordinates 1 Answer
How to create animated tile that plays only once 0 Answers
2D Tiles and sprites 1 Answer
Tilemap has gap between tiles, how do I get rid if it. 1 Answer