Pathfinding

goodie

  • Posts: 5
This is just a  'proof of concept' thing, I've thrown together.

Based on Greg's Pathfinding Game and AS3 code from
http://www.untoldentertainment.com/blog/2010/08/20/introduction-to-a-a-star-pathfinding-in-actionscript-3-as3-2/

It's only working with grid-sized square-obstacles and grid based movement right now

http://www.stencyl.com/game/play/11051

search for Pathfindeing (AStar) of forge

feel free to play around with it


ThyRaven

  • Posts: 46
Glorious!

Av always found A* pathfinding complicated and often used a simplified version of "get path from target to me and if there is no semi-direct path to me then screw this stuff and declare it's impossible".

Thanks, I will have fun with this. :D

FortySe7en

  • Posts: 304
That's exactly what I needed.
I'll get it soon and try to employ in my fresh concept.
Well done!
Thanks a lot!