• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Click to move

R

Rober122

Guest
I wanted to make a click system to move to my player. I tried to use mp_pontential_step();,
it worked but he doesn't find the shortest path, besides swapping sprites with 8 directions.

Another thing ... I wanted my enemies to follow a path, and when they get close to the Player, start following them.
 
If it doesn't find the shortest path, either the path precision is too low, the grid size is too high, or you messed up your path somehow.
I don't even get what is your question, honestly...
 
Top