I'm creating a game similar to pacman, however idk how to code the enemies to use the quickest route to get towards the player. i want the enemies to path around tiles, but not get stuck in corners or dead ends.
I've done something similar to the link below in a different program, but I'm not sure how to do it in stencyl because I'm still new.
https://www.redblobgames.com/pathfinding/tower-defense/