Procedural map generation like doors

Godot Version

4.4

Question

I'm looking to make a game with similar generation to the roblox doors game (or Grace) where its random what room is next, but i have no idea how to do that or what that kind of generation it's called

procedural level generation, specifically “room sequencing” or “modular procedural generation”.
Here’s how it typically works.
You create a Room Pool

You design a collection of room “prefabs” (scenes, templates, etc.)—hallways, special rooms, forks, dead ends, etc.

  1. Define Entry/Exit Points

Each room has a clear entry and exit point, so they can connect seamlessly. Usually, these are predefined markers or positions (like doors or spawn points).

  1. Random Selection Logic

When the player gets near the end of the current room, the game:

Picks a room randomly (or semi-randomly based on rules),

Instantiates it at the right position/rotation,

Connects it to the previous room’s exit point.

1 Like

do you know any tutorials that explain how to do this?

If you’re new to Godot and especially Game development in general, I highly recommend you first check out the introduction in the Documentation, and complete the first two tutorials, namely the “Your first 2D game” and “Your first 3D game” to get a basic idea on how the engine works at all.

thx^^
This will help

Once you have finished the Introduction, try playing with this sample project: