Random Metroidvania Map Generator WIP

Channel:
Subscribers:
78
Published on ● Video Link: https://www.youtube.com/watch?v=m1P7EB61Y10



Duration: 2:38
601 views
12


I know it's a long way off but I'm really considering using this as DLC for Derisory. Of course, I need to finish the base game for that before doing anything with this. Now, about the generator itself...

The weird boxes that aren't rooms are for debugging. They're basically used to decide which area to use based on distance(before the flood fill) and also what size constraints to use for rooms in that section.

It's currently a large WIP. I'm happy with what it's able to generate, and not too worried about the boxy rooms as the content inside of each room doesn't need to be boxxy, but it still needs work. The largest problems are:
1. "loser" areas that have barely any rooms. You can see the room count for each area on the left side of it's name.
2. "dominant" areas that consist of too many rooms. This one is less of a problem, especially when it's just large rooms.
3. "Choke points" where there are clusters of rooms that are only connected to the rest of the map by one room. It's fine to have some of these but most paths need to loop around to some other point.
4. Interconnectivity. On the right side you can see two numbers that rate how connected it is to the rest of the world, as in counting how many times an area connects with any other area. The first number is the amount of times before it does the connectivity pass, and the second number is for after I do the pass. However it still needs work because...
5. Misc. bugs, polish, and missing rules. Basically it's a WIP. I'm thinking about releasing the source code when it's better. Sometimes illegal entrances/exits generate, and it occasionally throws an error every 40 generations or so(ofc using try catch would likely solve it in an actual implementation but I'd prefer to root out the problem once I figure out what it is).
6. And finally, stuff. Save points, bosses, deciding if a room is a challenge, secret, or some other room. Which rooms/exits/entrances require which abilities, where do you get these abilities, where are shopkeepers/landmarks, etc. I have ideas for implementing some of these.
7(?). Custom room generation? I am considering this, and if I can get it done well I'll make it DLC for Derisory when I finally finish that thing(long way away. School and procrastination are my main reasons why it isn't even close yet.) I have some ideas on this, but that'd be it's on topic.

Development Discord: https://discord.gg/RHhgk6dT9s

Source Code: https://github.com/Vakore/Exploration-Based-Platformer-Map-Generator


Also the music is something I'm working on. It's either going to be the theme for the plains in Derisory or something I'll use for this random generator if I do anything with it. It's pretty fun working on.