A* Pathfinding in Flash

Posted By: Blade280891

A* Pathfinding in Flash - 01/09/10 01:02

Hey guys,
I'm trying to write an A* pathfinding code in actionscript 3 and i am now stuck on working out the distance (in tiles) between the two targets.

I'm trying to use this tutorial
http://www.policyalmanac.org/games/aStarTutorial.htm
and am at the path scoring bit, and i am now totally stuck.
Any idea how i can work it out?

The map is split into tiles and is 8 by 8.

Any help or anything would be greatly appreciated laugh

Thanks,
Blade
Posted By: Blade280891

Re: A* Pathfinding in Flash - 01/09/10 02:12

Mwhaha i managed to figure it out eventually laugh
Still got a long way to go though smirk
© 2024 lite-C Forums