I’m trying to implement procedural dungeon generation into my godot 4.5.1 project. I want to queue leftover rooms but I need to tell godot what is a room and what isn’t. I was thinking I could do that through node type like:
for i in range(get_children):
if i is ACertainNode:
i.queue_free()
but that would only work if I had a unique node to use. I’m wondering how can I create my own node? It would just be the same as a Node3D but then it could show up as a node type. I’ve seen it be done but that was through a plug-in which I’m trying to avoid because I want to learn through this project so I’m doing as much as I can myself. I know there’s probably some stuff I can do with class_names but I just thought that’d take longer.
(I think I’m crazy and stubborn in this solution because I’m sinking time into creating a forum post and it might not be faster but ¯\_(ツ)_/¯)