Third day of programming an script to generate a typical room-based map in Godot Engine. Script has 600 exact lines today (I swear I'm not doing it on purpose, lol).
Done from the list of the last uploaded video:
To improve the way to detect the best direction the rooms should move.Refactored a lot of code (almost completely rewrote the way the rooms generate). Now the rooms are generated in a better position from the start, so I don't have to displace them across the map. Tons of optimization and I need to sleep.To remove rooms that are not in contact with at least 3 tiles to another hallway or room(although maybe it's not necessary, but I want to add a second level of rooms).To generate the stairs rooms at the start and the end of the hallway.Activate the feature to generate hallways that start and end in different directions than from up to down.Add different colors for the two hallway rooms.Anything else?