Flash Pathfinder
a* search pathfinder class for flash (actionscript 3). Notice how the vehicles prefer to move on concrete because they can move faster over it. You can also move your own car by clicking somewhere on the landscape.
You could use this class for for example pathfinding in a small rts or tower defence game. It should be fairly easy to implement and I left plenty of instructions in the demo flash.
You can download both the demo flash and the class file at [link]
If you have any questions about implementing the class feel free to ask.
advertisement