I’ve been making a school level for a game I’m making (which is being made in Unity), and I’m coming across some problems with it.
I’m using a tile like system to make it, each room is a set of square tiles. For the most part, it’s been good, it’s made making the level much easier, I can easily create doorways and window gaps using this system.
When I go to test my level in Unity, the walls sort of intersect with each-other, and it slows down the game, and it looks really weird. Here’s a screenshot of what I mean:
To avoid this problem, I’ve been spacing out my rooms, and sort of extruding doorways to connect them, this eliminates the problem above, but creates another.
If I have a corridor, and rooms to the left of it, and I want to connect them all, and I have to space them all out to avoid the glitch above, the tiles for one of the rooms don’t align, unless I manually modify the room myself, which works as a temporary solution, but I can’t help but feel that would cause more problems down the line. Here’s what I mean:
I could just only do walls on one side, but if I were to go from a corridor to the cafeteria, obviously, the walls will be a different design/texture, so that wouldn’t work.
There’s also the problem with outside walls, the school has a big garden in the centre, so if I look out in a window, I want to expect to see the outside of another part of the school at the end of the garden. I have the exact same problem with the walls going through each-other, unless I really space them out.
Is there a way to make the walls not go into each-other but at the same time, have all the tiles align?