Code archives/Algorithms/Z Pathfinding Library
This code has been declared by its author to be Public Domain code.
Download source code
| |||||
VERSION 2.0 What does this library do? -- Well it's a simple-to-use fast pathfinding library What all can it do? Unlimited amounts of pathfinds at once, all in realtime! (uses a banks for paths) 4 or 8 direction pathfinding, zpath_Init(dir%), where dir = 4 or 8 IN REALTIME! Generate a path layout list with one function, zpath_PathFind() Very OPTIMIZED uses types, but using handle() and object() 90% of the time Very EASY to use, get the X and Y of the current path: zpath_GetPathX(bank) etc.. Want to go on to the next Path after you're done this one? zpath_GotoNextPath(bank) The ability to draw the Path layout (if you ever want that debuggin need!) Clean, Commented, and EASY to understand/modify code (I hope so? :)) Save and Load - Map files, Path layout Files Honestly, I doubt you'd want to copy paste it -- here's the url to it. EXAMPLE INCLUDED: http://zen.noelcower.com/zpath.zip | |||||
moop |
Comments
| ||
moop indeed! link broken |
| ||
its 3 years old post .. |
| ||
^_^ |
| ||
I can email this. |
| ||
@Puki..Email me if you dont mind Puki-master :) |
| ||
Hey sorry, fixed the url to my current one: http://zen.noelcower.com/zpath.zip Good luck! I don't really advise using it anymore, its pretty bad code, but you be the judge of it. :) |
| ||
that's broken too |
| ||
oh right, lost that site also, hold a sec.. http://gamingseed.deviousbytes.com/zpath.zip (how ya doing, chwaga? :)) |
| ||
example: maybe someone can do a Bmax port. |
| ||
I wrote this 5 years ago.. BEWARE :) |
| ||
lol, I've re-embarked upon the endless quest for simple A*, I asked Xyle to help lol.... (Doing fine, how about you?) I'd use yours, but it's too slow :( |
Code Archives Forum