Adam's Lair Forum

game development and casual madness
It is currently 2017/12/13, 18:57

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Plugin: Pathfindax
PostPosted: 2017/02/11, 21:18 
Newbie
Newbie

Joined: 2017/01/10, 14:06
Posts: 6
Role: Hobbyist
I have been making a plugin for pathfinding in duality. You can find it here:
https://github.com/Barsonax/Pathfindax

Features:
-Support for 32 collision layers
-Support for multiple agent sizes
-Support for movement penalties
-Multithreaded
-Built in support for the tilemap plugin

Showcase:
Gfycat Video - Click to Play. [Source]

_________________
Projects:
https://github.com/Barsonax/Pathfindax
https://github.com/Barsonax/DualityVSExtension


Last edited by Barsonax on 2017/02/15, 21:49, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Plugin: Pathfindax
PostPosted: 2017/02/13, 00:49 
Forum Adept
Forum Adept
User avatar

Joined: 2015/03/15, 02:49
Posts: 353
Location: Out there
Role: Hobbyist
This is fantastic work! Thank you for your contribution.

_________________
Hello there! Nice to meet you!
I have github. Apologies in advance for bad coding practices.


Top
 Profile  
 
 Post subject: Re: Plugin: Pathfindax
PostPosted: 2017/02/19, 17:26 
Newbie
Newbie

Joined: 2017/01/10, 14:06
Posts: 6
Role: Hobbyist
Working on pathfinding in a non grid map:
Gfycat Video - Click to Play. [Source]


EDIT: Its done

_________________
Projects:
https://github.com/Barsonax/Pathfindax
https://github.com/Barsonax/DualityVSExtension


Top
 Profile  
 
 Post subject: Re: Plugin: Pathfindax
PostPosted: 2017/11/10, 00:29 
Newbie
Newbie

Joined: 2017/01/10, 14:06
Posts: 6
Role: Hobbyist
Now working on flowfields:
Gfycat Video - Click to Play. [Source]

_________________
Projects:
https://github.com/Barsonax/Pathfindax
https://github.com/Barsonax/DualityVSExtension


Top
 Profile  
 
 Post subject: Re: Plugin: Pathfindax
PostPosted: 2017/11/20, 19:53 
Newbie
Newbie

Joined: 2017/01/10, 14:06
Posts: 6
Role: Hobbyist
Released a new version of pathfindax. Do note that alot has changed in this version and as such it is not compatible with older versions at all.

The most exciting new feature are dynamic potential fields which will make dynamic pathfinding possible:
Gfycat Video - Click to Play. [Source]


Here all agents try to keep some distance from each other. All through the magic of potential fields.

So how does this works? What the agents basically do is go to the tile that has less potential than the current tile. There are 2 different type of potential fields in play here, a potential field for the path to the goal and a 'dynamic' potential field for avoiding other agents. The agents themselves add values to the dynamic potential fields thus raising the values around the position of an agent. When calculating the heading the values of these fields are summed thus creating agent behavior that will both try go to the goal and try to avoid other agents.

By playing with the values you add to the potential field different kind of behavior can be created.

_________________
Projects:
https://github.com/Barsonax/Pathfindax
https://github.com/Barsonax/DualityVSExtension


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group