A simple A* implementation.
Allows both straight and diagonal paths. Diagonal paths also have the option to turn on/off beeing able to cut blocked corners.
The asset comes with an example of how to initialize and use this. This can of course be emitted when you know how the asset works.
Added ability to resize the pathfinder grid.
Added a script that recalculates world coordinates to grid coordinates
Version 1.1.0. Published March 30, 2016
Created with GameMaker: Studio v1.4.1750
You can only review assets you've bought.
Not too sure
Could this be used for platform game as this looks like something for top down.
Thanks for the code!
Good code and nicely optimized but the code has a memory leak!
Great and simple to use
Your A Star pathfinding script works like a charm, however I am having 1 small glitch.
When i click to move and the object moves from point A to point B, if i change the path mid trip, the object snaps back to the previous grid square then moves to the new point B.
Is there a way to make the object finish its movement to at least the next point in the path before moving to the new point B or even have it move to the new point B once it is snapped to the next available grid square
Look like great scripts would like a demo included
Look like great scripts but I'm having trouble implementing them. Any chance of including a demo room with this? Appreciate it.
This review was left for a previous version of this asset.
Yes I can include the demo that is shown in the pictures.