Disconnected dungeon generation

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • PowerDiver
    replied
    Originally posted by fizzix
    How about just ensure that starting location has a connected path to down stairs?
    I think it would probably be simpler to code for a connected dungeon, but perhaps the consensus not to bother is correct.

    Leave a comment:


  • fyonn
    replied
    Originally posted by fizzix
    How about just ensure that starting location has a connected path to down stairs?
    or to any stairs, doesn't have to be down I guess.

    Leave a comment:


  • Jungle_Boy
    replied
    Originally posted by PowerDiver
    When I came down into a single disconnected room with no exit, early enough not to be able to dig through granite, it sure felt like a bug. I agree it is no big deal as you can always just ?recall.

    Would it be so hard to leave the generation basically as is, but add a post-processing step to connect everything? I guess the tricky part is not removing walls inside vaults.
    I remember my very first game of rogue I started in a room with an 'I'ceman and an up stairway and no doors. I killed the iceman spent quite some time figuring out you could not go up stairs and then died of starvation before I figured out you could search for doors. I decided it was a crappy game and did not play again for several weeks. Now look at me

    Leave a comment:


  • fizzix
    replied
    Originally posted by PowerDiver
    When I came down into a single disconnected room with no exit, early enough not to be able to dig through granite, it sure felt like a bug. I agree it is no big deal as you can always just ?recall.

    Would it be so hard to leave the generation basically as is, but add a post-processing step to connect everything? I guess the tricky part is not removing walls inside vaults.
    How about just ensure that starting location has a connected path to down stairs?

    Leave a comment:


  • nppangband
    replied
    I think generate.c goes through every room in the dungeon and tries to connect it to another randomly chosen room in the dungeon. The tunneling stops when it reaches the other room, or reaches another tunnel.

    Very very rarely, one or two rooms only connect back to themselves and the dungeon has a closed loop or isolated room.

    I guess it could be checked for, but I think it happens so infrequently noone has ever bothered to fix it.

    Leave a comment:


  • PowerDiver
    replied
    Originally posted by fizzix
    This case, of a disconnected room, is so rare that it's almost not worth dealing with. Call it a feature and be done with it.
    When I came down into a single disconnected room with no exit, early enough not to be able to dig through granite, it sure felt like a bug. I agree it is no big deal as you can always just ?recall.

    Would it be so hard to leave the generation basically as is, but add a post-processing step to connect everything? I guess the tricky part is not removing walls inside vaults.

    Leave a comment:


  • fizzix
    replied
    More common is the case where a GCV with all permanent walls bifurcates the dungeon into two sections. This case, of a disconnected room, is so rare that it's almost not worth dealing with. Call it a feature and be done with it.

    So, are you gonna clear out that dragon pit, or should I?

    Leave a comment:


  • d_m
    replied
    Excitingly, the dungeon-generation algorithm doesn't guarantee that the dungeon is connected.

    It's actually confusing how rarely this happens, in my opinion.

    Leave a comment:


  • PowerDiver
    replied

    Leave a comment:


  • Derakon
    replied
    Which is why I made the thread.

    Leave a comment:


  • Timo Pietilä
    replied
    Originally posted by Derakon
    This is the first time I can remember seeing a disconnected dungeon in, well, ever.
    Qualifies as bug. That shouldn't happen.

    Leave a comment:


  • Derakon
    started a topic Disconnected dungeon generation

    Disconnected dungeon generation

    This is the first time I can remember seeing a disconnected dungeon in, well, ever.



    That's a shot of Detection being cast, by the way. When I first saw it on the map I thought there might be two secret doors right next to each other, but no dice.
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕