Not sure what the problem is. I have a system where each unit (arrow) has a dictionary file that stores the information of where the item will be going next. I probably should use an array for this kind of information, but arrays still confuse me slightly.
In any case, the dictionary is in a container with the unit, and when the unit reaches its destination, the dictionary will find a new location. The unit will then turn and find its way to the new location. I also have an event that states that if there is no path to be found, the dictionary will pick a different location. The logic seemed to work, and so I made many more objects to see how many it could cope.
I noticed now, though that some of the units just decide to stop. I added a sprite to appear at their destination to see if they got stuck in the obstacle, but that doesn't look like that's that problem.
Click here to see what I mean
The path finder is so simple to use, it's brilliant... but I just want to make sure it can handle what I plan on throwing at it. I find I'm a little concerned over its potential. So far, the only uses I can imagine it for is a top-down game.
Control isometric units?
I imagine it can, but I have tried it with my 4 directional sprite man, and he looks a little silly walking diagonally. Can I restrict the path finder so that it will only locate paths using 4 directions, 8 directions, etc?
Control platform NPCs
I saw a pathfinder once that could allow a character to navigate the faster route to a point by using ladders and even transporters.
Again, is this only really practical for top down movement? I don't mean to put it down in any way. It's brilliant and simple to use. I just want to know if I can use it for my game.