- Edited
Hi, I'm making a dungeon crawler like The Binding Of Isaac, and I would like some advice to know if I am on the right track with how I approached doors that connect each room.Since I use a Tilemap to generate rooms, I can't add functionality to a tile such as a door tile with a script that handles moving between rooms. Only collision works with Tilemaps and tilesets. So, I made a door scene that is instanced with the script I want and it works well. My concern is if my way of having instanced doors in my scene tree is inefficient or messy, because it gets the job done but when I look at the remote inspector and check the scene tree, I have a bunch of idle door nodes that are literally only there to tell my world which room it should teleport the player to when he touches it.[img width=623 height=665]http://i.imgur.com/cJL2rmE.png[/img]I only generated 3 rooms with 1 door each, but when I start implementing multiple branches with rooms, this approach seems inefficient.[img width=750 height=561]http://i.imgur.com/TUHpVag.png[/img]I know that another way is to only render the current room so that I only have 4 possible doors in the scene tree, but what if I wanted to have the whole dungeon rendered?