Armored Dragon
Member
Well, I'm having some problems figuring out how to make a procedural map generation.
What I know is that I want map gen like in Binding Of Isaac, where you have a list of pre-made rooms to generate the map of each floor.
The Algorithm is simple (in theory, of course):
Thanks in advance!
What I know is that I want map gen like in Binding Of Isaac, where you have a list of pre-made rooms to generate the map of each floor.
The Algorithm is simple (in theory, of course):
- Before the Floor start, generate a new room with a big width and height
- Place the 'Starting Room' on the center
- Iterate through the available doors and select from a list, one of a group of previously created rooms
- Check if it matches the rules to be in that place
- If True, copies it, and pastes it next to that door.
- Then repeat until complete a map
layer_set_target_room()
to get and manipulate information/instances of other rooms but I have no idea how to copy this entire room and paste its content on a specific coordinate.Thanks in advance!