Author Topic: Dungeon builder [resolved]  (Read 2462 times)

0 Members and 1 Guest are viewing this topic.

Offline V1mes

  • LV3 Member (Next: 100)
  • ***
  • Posts: 83
  • Rating: +7/-0
  • Ma-Heki!
    • View Profile
Dungeon builder [resolved]
« on: August 19, 2012, 07:53:45 am »
Hi
I really need some help turning this algorithm http://roguebasin.roguelikedevelopment.org/index.php/Dungeon-Building_Algorithm#The_algorithm into Axe...
I've started by filling a 9*15 grid with 'wall' cell and digging out a room of 'floor' cells, but then I don't know how to scan for space, pick a direction for a corridor or find out which walls are next to a room.

Suggestions?

EDIT: Can someone delete this thread please? I worked it out anyway...

Edit (squidgetx) : Locked and title changed, since the thread and link might help others in the future
« Last Edit: August 24, 2012, 01:23:59 pm by squidgetx »
Nom nom nom

Spoiler For Do a barrell roll: