How It Works: A-Star (Pathfinding) Part 3/3

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,515
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 21, 2009

Part 3 of 3 of my little series on the A-Star pathfinding algorithm.

Part 1: http://www.youtube.com/watch?v=Kw8AMmyc6vg
Part 2: http://www.youtube.com/watch?v=uIVu7ViLaZo
Part 3: http://www.youtube.com/watch?v=kcYkd1Oxnrc

More Indepth information:
http://www.policyalmanac.org/games/aStarTutorial.htm

All About Heuristics:
http://theory.stanford.edu/~amitp/GameProgramming/Heuristics.html

Any questions feel free to send me a message or post a comment. If you use my library please give me credit, just a thank you and I will be happy!

Downloads:

AStarTester Application (Compiled)
http://www.megaupload.com/?d=DVNI1SEQ

AStarTester + LibAStar (Source)
http://www.megaupload.com/?d=G1AJEO7O

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (Dooobs)

  • Why do you say it's un-human-like to 'zag across'? If a human would want to move to their friend behind a wall, they would take the shortest way from where they were around the wall, not first bump into the wall and only then start moving around it (as the program does at 3:48), right?

  • @Marein86 Not really, in my opinion humans are slack and if you couldnt walk diagonally you would take straight lines...

  • looks interesting

    where i can find this source code ?

  • Read the sidebar....

  • im not english so don't blame me for this question. what is c-sharp actualy? is that c# or c++?

  • C-Sharp is C# and C++ is C Plus Plus.

see all

All Comments (33)

Sign In or Sign Up now to post a comment!
  • I must say, that was quite helpful in helping to make my understanding lucid; doubly so given that visualizations are a lot like taste - sometimes you need just the right one to make you full. Thank you kindly for taking the time to make this. It's a testament to your clarity that you still get views years after this video's creation :)

  • megaupload is inaccessible... it would be nice if you could share the source code for reference...

  • can you reupload the code? megaupload is down!!!

  • This was astoundingly helpful thank you

  • Thanks a lot for the set of three videos. This helped me get the A* concept into my head more firmly.

  • great stuff

  • Dude, do you have a video for D-Star?

  • woah, nice optimisation man! so quick.

  • Assign diaginal paths with a 7 score and str8 paths with a 5... it will solve the bugs

  • Very nicely done, thanks, you explained that very clearly. Clear enough that am confident I can recreate it without seeing any source. :) (at least I'll try)

    I done my own simple pathfinding a while ago which basically starts at the end, marks that with a ZERO, then marks all surrounding walkable locations with 1, marks all movable locations surrounding the 1s with a 2 and so on until you reach the start. You then can move from start to finish moving to the path with the lowest number.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more