I am having trouble finding the right path finding algorithm for some AI I'm working on.
I have players on the field moving freely (not tied to the net), but they are limited to movement in 8 directions (N NE E, etc.).
I worked on using A * and a graph for this. But I realized that each node on the graph is equally far from each other, and all edges have the same weight - since the height of the rectangle. And the number of nodes is huge (this is a big step, with it you can move between 1 pixel and another)
I realized that there should be a different algorithm optimized for this kind of thing?
source share