Raised This Month: $32 Target: $400
 8% 

A* Pathfinding API


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 06-15-2014 , 18:21   A* Pathfinding API
Reply With Quote #1

A* Pathfinding API
Pathfinding API which will (hopefully) find a walkable path between two points. Usable for NPCs without waypoints for every map.


This is highly experimental and should not be used for publically released plugins.
I do encourage that you try it out with the debug mode and help me finding new methods of doing certain checks.


Include (functions)


Example code


Changelog


Additional notes:
The best would probably be to make it a module. Feel free to do so (I can't write code in C). You have my permission to use any of this code in that project.
I'm always open to suggestions, feedback and criticism. Please share your thoughts.
Attached Files
File Type: sma Get Plugin or Get Source (astar.sma - 1781 views - 16.8 KB)
File Type: inc astar.inc (3.8 KB, 826 views)
__________________

Last edited by Black Rose; 07-29-2023 at 11:53.
Black Rose is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode