I figured to manage the movement on a grid, 32px sized.
Here is the single-file Construct2 project.
My goal is now to make pacman move with Touch events and PathFinding behavior. If I set pathFind->cell border to -1 value, pacman does not follow the path next to the wall set (as classic pacman level).
If i set pathFind->cell border to -2 value, pacman follow the path next to walls but does not recognize walls as obstacles.
By the way, I notice sometimes pacman just goes out of the grid, but I can't figure out why it does so.
Consider I follow this guideline for grid movement.