Pathfinding for RPG games

How would you make a pathfinding system similar to old top down RPGs? Most pathfinding sytems I’ve looked up made it to where the enemy rotates when turning a corner, but for mine I just want the enemy do move left/right/up/down rather that rotating to turn (kinda like grid-movement). Any ideas? Thanks

You’re confusing making the path with walking on the path. The standard A* path find takes a grid and makes a straight-line path from center to center of each square (but it may have non-45 degree diagonals.)

Once you have the path, you can walk it however you like. Most people purposely have a slow turn as they move, so the sharp corners are rounded off. In your case, you should be able to look at the next waypoint and move the closest NESW direction for one space, then repeat.

take a quick glance at this. http://www.policyalmanac.org/games/aStarTutorial.htm