Hi guys is there anyone that could help me with pathfinding in C++?

Started by
4 comments, last by ankhd 9 years, 9 months ago

Hi i'm having trouble with pathfinding. I know the logic in my head but when I write my logic from my head it isn't working.

Could someone get on skype and teach me how you program pathfinding in ++ code? If possible I like to have a session of how you code it live in team viewer.

Advertisement

Check out the Artificial Intelligence articles on this site:

http://www.gamedev.net/page/resources/_/technical/artificial-intelligence/

Currently the top three are about path finding.

BTW you posted twice.

Stay gold, Pony Boy.

Probably your best choice would be to learn A* or Dijkstra's graph traversal algorithms.

Generally speaking, when you have an "idea in your head" it is best to write it down in plain english (or whatever your native tongue is), and draw it out as well. That will help to validate that you've actually solved the problem as you think you have.

In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.

Thank you minibutmany

Yeah it was a mistake to post twice. I tried to delete one but I couldn't find the delete post button.

I watched a video on (What is A* Pathfinding) youtube

">

I know the logic behind it. The code I write isn't matching up though. :(

Hi.

Take a Look Here

This topic is closed to new replies.

Advertisement