howdy all

first time posting & have a question regarding:

  1. map generation using multiple pre-made room scenes using Area2D

Now. I have a very basic working example using the useful tutorial from here & also here [which is an updated version]. there are still some quirks im working on, since these were originally made in Godot 3. the yield/await problem that pops up

now my idea is this.
to use several pre-made rooms [scenes] in a level that will choose one or the other to enter. so I guess to make it easy to understand, its a type of 'Binding of Isaac' generation. but each room is not the same size as each other [like Binding of Isaac].
now those tutorials have helped with the camera size, so it does change each time I go into a different room

I have been thinking that the layout for the rules of generation are to have a 5x5 & 7x7, even 5x7 & 7x5 grid for the world. some of these may be larger, so that requires a larger room/scene. so there are ways I can keep it contained. plus this is a platformer, so having rules to how the rooms are laid out are important, plus of there is enemies, bonuses etc.
there would be simple rooms created, then would be filled in with the correct settings when you enter the room.

this is a mock-up picture of what im after. the 'S' is the start, 'F' is the finish

now the reason why I want Area2D is because of the camera changes when moving to new areas. but feel these could be used to help with the generation of the level. I feel I would have the odd corridor, but thats something else. its the generation using pre-made rooms layout in a grid that I am after learning about

has anyone come across something like im talking about? something that uses Godot 4?
on searching I have found not that much in terms of using this type of method, since many [if not all] are about generating everything in a way thats far from the method im after & seems more random than anything & not restricted in this type of grid using pre-made rooms [scenes]

if you can point me in the correct direction, thats great

thanks

fire7side thanks ill have a check

if anyone else has any ideas or paths to try, then please by all means