graphical dungeon demo
Posted: Tue Feb 01, 2011 2:14 pm
This is a little program that gives you a "dungeon" to explore.
This demo features a field of view algorithm under the GOSUB [see], and uses a function for A* pathfinding.
I have taken some pains to make this run as fast as possible. It's not perfect, but I'm rather pleased with the speed.
Controls:
Walk around with numpad or these
u - i - o
j - k - l
m - , - .
press "g" to auto move the dwarf to the end of the map
press "s" to generate a new map
bump into closed doors to open them
press "c" to close open doors
This demo features a field of view algorithm under the GOSUB [see], and uses a function for A* pathfinding.
I have taken some pains to make this run as fast as possible. It's not perfect, but I'm rather pleased with the speed.
Controls:
Walk around with numpad or these
u - i - o
j - k - l
m - , - .
press "g" to auto move the dwarf to the end of the map
press "s" to generate a new map
bump into closed doors to open them
press "c" to close open doors