Say I have a 2d grid. Pathfinding is a secondary step in my problem.
My thing, say, I have a unit in the middle of the grid. I want to tell the user, "These are all your available destinations."
Depending on how many squares the device can walk, I want to show the user: "These are all the squares that you can reach." and then pathfind the destination that the user selects.
What is the best way to do your first search to show available destinations?
Och bonuses may also be limited in terrain depending on the terrain.
I don’t know what it's called, pointers to where to look or what to do with Google would be greatly appreciated.
Hooray!:)
/ E
source
share