4

I want to use the A* path finding algorithm in my game with a hexagonal map. I found some JavaScript implementations here and here. But is there any possibility to apply it to the hexagonal map?

In most cases it uses some external file. I think I must edit it. But I´m not so good in JavaScript to edit it.

Do you know some implementation that can be used to the hexagonal map?

1

1 Answer 1

5

http://vanreijmersdal.nl/development/experiments/javascript/hexpath/

http://www.matthewtrost.org/projects/astar/ (link is dead -- found a gist at https://gist.github.com/1168189)

Sign up to request clarification or add additional context in comments.

1 Comment

Moved the code from my website to github: github.com/nreijmersdal/hexpath

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.