Darkry
Darkry

Reputation: 590

A* pathfinding on Hexmap in JavaScript

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?

Upvotes: 4

Views: 3650

Answers (1)

Related Questions