A* pathfinder toy
https://github.com/MicroFrogStudios/PathfinderUnity
A sandbox environment I made while learning about pathfinding algorithms for games.
Move the camera with WASD and QE for going up or down.
You can switch the edit mode with the number 1 key.
In edit mode, You can place cubes with left click and remove cubes with right click.
In play mode, left click previews the path the sphere would follow, and right click makes the sphere move across the path.
With number 2 key you can switch between allowing the cube to climb or not.
With number 3 key you can allow or not the sphere to climb being adjacent exclusively to corners.
With number 4 key you can activate or desactivate path corrections to make the pathing prettier but sometimes more costly.
With TAB you can cycle through different heuristics to use in the pathfinding algorithm.
Note: With the Manhattan distance heuristic, the algorithm doesnt allow moving diagonally, so sometimes it wont find a path where other algorithms will.
| Published | 20 days ago |
| Status | Prototype |
| Platforms | HTML5, Windows |
| Author | microfrog |
| Genre | Simulation, Educational |
| Made with | Unity |
| Tags | Sandbox, Unity |
| Content | No generative AI was used |

Leave a comment
Log in with itch.io to leave a comment.