Alright.
So, I've acquired the desire to create a game with randomly generated dungeons as part of the gameplay. However, I'm encountering some mental problems as I think about how I can go about this game.
The rooms themselves; I can figure out a simple random X and Y variables that randomly pick a spot and build a room around said spot. Simple enough. However...
Corridors. If these rooms are going to be in random spots, how how how can I connect these rooms with corridors? This is my number one concern at the moment.
Before I can go any further with this game, I need to get a concept and code laid out that I can add onto.
So...
Is there any way I can connect randomly generated rooms with corridors effectively? Because so far, I'm drawing a blank.
One of the greatest mysteries of life. :/
Wish I could help.
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x
Wish I could help.
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x
Spoonweaver on the IRC actually helped me figure out the corridor thing, but if I run into any problems with the script, I'll post it here.
This random dungeon generator thing is a pretty bold attempt for me to do, but...I want to learn. I want to step out of what I know and try to learn something that will improve my games and my knowledge of how scripting works. I at least want to try...
This random dungeon generator thing is a pretty bold attempt for me to do, but...I want to learn. I want to step out of what I know and try to learn something that will improve my games and my knowledge of how scripting works. I at least want to try...
Master K wrote:
Spoonweaver on the IRC actually helped me figure out the corridor thing, but if I run into any problems with the script, I'll post it here.
This random dungeon generator thing is a pretty bold attempt for me to do, but...I want to learn. I want to step out of what I know and try to learn something that will improve my games and my knowledge of how scripting works. I at least want to try...
This random dungeon generator thing is a pretty bold attempt for me to do, but...I want to learn. I want to step out of what I know and try to learn something that will improve my games and my knowledge of how scripting works. I at least want to try...
This is great! I've been pondering some similar questions. Mind posting how you worked out the corridor connection problem? I wanted to do a self-generating map but instead of generating the map tile by tile I think it would be neat to generate the map chunk by chunk. By that I mean a bunch of small map areas would be preconstructed and the program would choose how to connect all of these chunks. The chunks could even be of different sizes making the end result seem less clean cut and repetitive. Not sure how to code that yet but if anyone wants to take it on as a challenge go right ahead.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
⍠ C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases



