Although it is totally unoptimized, the best path isn’t taken, and there are loads of quirks, the implementation needs polish, and it was harder than it should have been, but I present to you 40 ants dodging 4 arbitrary polygons!
Posts Tagged ‘Pathfinding’
Hexagonal A-Star Pathfinding
Here’s a demo of functioning hexagonal A* pathfinding in Flash. My implementation is inefficient and a slow in certain circumstances, but it *does* work.