This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.
Am I on the right track? (Connecting rooms)
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.<br /><br />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. <br /><br />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.<br /><br /><br /><br />I only generated 3 rooms with 1 door each, but when I start implementing multiple branches with rooms, this approach seems inefficient.<br /><br /><br /><br />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?<br />