#Suggestions on randomly pulling scenes from a folder?

2 messages · Page 1 of 1 (latest)

hot field
#

I'm currently in the middle of randomly generating levels using grid based cells. Each "cell" is identified by which sides has a wall or a door (so a room with doors on the top or bottom is marked TB).

I want to be able to instantiate and add a .tscn in a specific folder of said type as a child of a parent scene, is there an efficient way to randomly grab scenes based on file location in Godot? I have found few forums that necessarily reference this in the window I am trying to use it.

analog dome