For Game Maker Studio 2

Controls :

  • Left click :  Put walls
  • Right click :  Destroy walls
  • Middle click :  Relocate target
  • Space : randomly relocate finders

Download source code, as a .yyz

Use it for your projects, to play with it
feel free to modify the code however you want

Credit is appreciated, but not mandatory

Download

Download NowName your own price

Click download now to get access to the following files:

pathfinding_experiment_royaku.yyz 34 kB

Comments

Log in with itch.io to leave a comment.

(1 edit)

I really have no clue of pathfinding. May I use yours?

of course you can! ^^
That's why i posted it anyway ๐Ÿ‘
(I'll add it to the description)

If you want to have a clue on how it works:
basically, it's a rudimentary light emission (tile by tile)
stored in a 2d array, (and the light is stopped by the walls).
And objects can see in the grid which tile have a higher or lower value (to choose to get closer or further)