Hello! The title says it all,
But to give some few tips for this is that:
first, I have made a Tileset, which is a container of class Tile where I made a 2d vector of shared_ptrs for a Tile. Tile contains info on cost that constitutes the formula of F = G(n) + H(n).
second, the shortest path are stored for in a vector named closedList which is a vector of Tiles*.
So this is where I am going to take the shortest path.
It seems that, the web is full of tutorials on AI Path Finding, I have implemented mine as well, but does give constraints on actually moving the sprite to from point A to point B? I just followed the exact algorithm so I could make sure this is right, and it was right, or should I just reprogram my AI code to accomodate to such requirement of actually moving the sprite from point a to point b?
Thanks!