A Star Pathfinding


You must be logged in to obtain assets


Are you tired of dealing with Game Makers built in mp_grid functions? Are you tired of all the extra code just to make one reliable path? Then this script is an answer to your prayers!

This versatile script is capable of creating complex and reliable paths right out of the box with NO preperation! Simply call the script once when an object needs a path and your done! It is as easy as one-two-three!

This demo showcases the script's awesome power with on-the-spot paths generated instantly with NO mp_grid functions.

The script requires 9 simple parameters:

  • Starting X position
  • Starting Y position
  • Goal X position
  • Goal Y position
  • Cell size
  • Curviness of the path (1-8)
  • Is this path smooth or rigid? (True / false)
  • Objects to avoid (Use a parent object if multiple objects are to be avoided)
  • Allow for diagonals in the path? (True / false)

And that's it. Its incredibly simple.

  • Note this script will never fail to produce a path so long as one exists between two locations.

  • While A star pathfinding uses fixed cells to calculate a path, both the starting location and goal location can be of any x or y value.

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.0.0. Published June 6, 2016

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait