[Resolved]A* pathing algorithm for detecting blocks in a tower defense game?
Could someone please make the A* pathing algorithm (or a better one if you know one that will work) with a condition I can use to check if a path from point A to point B is there == true?
Note:
A* uses eight directions, but for what I need it only needs it use four direction (up, down, left, and right)
Could someone please make the A* pathing algorithm (or a better one if you know one that will work) with a condition I can use to check if a path from point A to point B is there == true?
Note:
A* uses eight directions, but for what I need it only needs it use four direction (up, down, left, and right)