Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: V1mes on August 19, 2012, 07:53:45 am

Title: Dungeon builder [resolved]
Post by: V1mes 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 (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