Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

yeah right now it doesn't do anything. Its just a placeholder for now

Yes, that's what I thought. I've slightly modified the script so that the character follows the shortest path using an A* algorithm. The problem is that the game wasn't originally designed with this feature in mind, so a few issues have come up. For example, the generated paths include diagonal movements, but the character can only move in orthogonal directions. As a result, to move from point A to point B, the character sometimes has to step off the intended path.

yeah A* algorithm can be quite tricky to add if a game wasn't made with it in mind