I’ve been working on the pushbutton engine navigation mesh component. I was inspired by this excellent post about navigation meshes. Here’s a quick demo.
Click to show a path from the blue dot. Mouse down and drag to create a new obstacle. [swfobj src="http://dionamago.net/root/wp-content/uploads/2010/01/BasicUsageDemo.swf" width="400" height="300"]
Hi do have any tutorial for pathfinding in as3?
regards
Not yet. As soon as I post the code, I will include tutorials.
Hey it is amazing.. is it possible to share your source code?
highly appreciated if you can send to my mailbox: zhigangduan@163.com
I will share the source code on the Pushbutton Engine website sometime in the near future.
Hi, your demo looks good, can share the source code please?
hi, it’s so cool.can you send source code to me(sxmad@163.com)? tks…
The source code for the navigation mesh is available at http://code.google.com/p/libdamago/
There are a few things to note:
This actionscript version of the pathfinding code is not maintained by me anymore. I’ve switched to haXe, but the haXe pathfinding code will not be released in the near future due to a current lack of time and it’s heavy use and modification in a game project.
The demos are not pushbutton components.
Feel free to email me with specific questions, but you will be mostly on your own!
hi,Dion
I see. thanks.
by the way ,you have a specific avatar.