Posted in June 3, 2009 ¬ 9:10 amh.adminNo Comments »
So, here is a Flash test .swf of my freeform pathfinding system. There is only 3 paths, and there is no handling of the possibility of not finding any proper paths, but you can get the idea. Drag the target clip to new positions and hit the recalculate button to test.
This naturally can be used for npc characters for pursuing player charcter but also to make player character navigate to new position in world.
Posted in June 1, 2009 ¬ 10:31 amh.maucNo Comments »
Pathfinding is a game character ability to navigate in a game world, avoiding obstacles.
Creating a fast and easy to use pathfinding is a nice challenge. If you are making a traditional tile based game, then there are ready solutions to use, like A*.
Flare is a freeform engine, meaning that there is no set “grid” or tiles where items could be positioned. So, how to make pathfinding work?