GLBasic forum

Main forum => GLBasic - en => Topic started by: FutureCow on 2009-Feb-13

Title: Findpath (pathfinding) in 8 directions?
Post by: FutureCow on 2009-Feb-13
I've had a look at the findpath example and there doesn't seem to be a way to get findpath to evaluate diagonals, it only seems to evaluate horizontal and vertical directions.

Is there a way to get it to do diagonals as well? I'd write my own version that did but I've never managed to work out how to code an A* algorithm any time I've looked at it :D