A simple implementation of A* pathfinding on a tilemap grid for 2D games. This project uses Priority Queues for efficient pathfinding.
- Fast pathfinding.
- Integration with Unity's Tilemap system.
- Attach the
PathfindingGrid
script to a GameObject in your scene and configure the settings. - Attach the
Pathfinder
script to any GameObject that requires pathfinding functionality. - Use the provided example in
EnemyController
or implement your own logic.
- A* Search Algorithm: Brilliant.org A* Search
- Optimized Priority Queue: High-Speed-Priority-Queue-for-C-Sharp
- Tilemap sheet used: Outdoor 32x32 Tileset