How to use the A* classes

Now that you have the component installed, it’s time to put it to use…

If you haven’t installed the component yet, look here.

I had a little disagreement with my blog-code highlighter, so I decided to put everything in a .fla file. The .fla file is commented and should be quite clear to understand.

The documentation files can be found here:
http://www.dauntless.be/Projects/Astar/Documentation/

If you have any questions what so ever, please feel free to give comments / contact me!

You can download the .fla file here: How to use A*

3 Responses to “How to use the A* classes”

  1. mojo2000 Says:

    Hey Dauntless, your How_to_use file doesn’t seem to actually work. Your buildMap() function references a variable called “map”, which doesn’t exist. I assume you meant to use myMap instead? However, changing map to myMap doesn’t seem to help much other than getting you through the for loops. Any chance you could point out where the problem is? Thanks much!!!!

  2. Dauntless Says:

    Sorry Mojo2000, that was entirely my fault … Could you please re-download the .fla and try again ? (The problem was that I used an old version of the component).

    And thank you for reporting this :).

  3. mojo2000 Says:

    Wow, you are fast! :-) Before checking back to your blog I changed map to myMap again and all seemed to work as expected, so no need to download again.

    Thanks a million for making this available. You rock!