javascript-astar
javascript-astar copied to clipboard
A* Search / Pathfinding Algorithm in Javascript
Hello
Hello I've been using astar to make a game and I've discovered that diagonal movements are often favored although the route is longer. From what I make out, weightings on...
Adding a `graph.markDirty(start);` right infront of the `while` loop in the `search` function seems to fix this.
Hi, I've chosen this implementation for a RTS game, optimized it for Mozilla's SpiderMonkey and got very promising results with weighting thousands of nodes in a matter of one digit...