Jump to content
  • Advertisement
Sign in to follow this  
BlackWind

Game + Pathfinding + Source Code

This topic is 4463 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, does someone know where can i find an implementation of any pathfinding algorithm in a simple game with the source code? i have many problems with it, so i will be easier to me to understand it..... thanks......

Share this post


Link to post
Share on other sites
Advertisement
TA SPring has nice working pathfinding. I based my pathfinding on their approach.

But I doubt it is anywhere near the idea of a "simple game".

Share this post


Link to post
Share on other sites
There are many implementations of the A* algorithm out there... so have a search for 'astar algorithm source' on your favorite search engine. I think it's easier to understand the basic concept while just having a look at the algorithm itself instead of diving into the source of a complete game.

Share this post


Link to post
Share on other sites
thank you, but....
i would like to see how a simple game (like a 2d racing game or so) implements some pathfindind, so i can see it i "real action".......

Share this post


Link to post
Share on other sites
I was recently looking into this and found a great site with sample code:

http://www.policyalmanac.org/games/aStarTutorial.htm

The site includes a program that lets you step through the algorithm. Great stuff.

Good luck!
Neil

-----------------------------
http://crpggeek.blogspot.com

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
thank you, that's a really good article.....

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!