OMFG, I can't believe I got this working in just four hours. And it's so fast too.
If you don't know what A* is, well, sucks to be you, huh?
In these images, a red square is an obstacle, a blue square is the path, and a green square is one that was searched.
With a heuristic of 0 -
A max-delta heuristic - max( delta_x, delta_y )
Manhatten distance - delta_x + delta_y
If you don't know what A* is, well, sucks to be you, huh?
In these images, a red square is an obstacle, a blue square is the path, and a green square is one that was searched.
With a heuristic of 0 -
A max-delta heuristic - max( delta_x, delta_y )
Manhatten distance - delta_x + delta_y