Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shamim-akhtar/tutorial-pathfinding
In this tutorial, we will implement a generic pathfinder in Unity using C#. We will approach the tutorial from a basic 2D grid-based pathfinding to a more robust generic pathfinder that we can use for a graph-based data structure. We will then apply our pathfinder to a variety of pathfinding problems.
https://github.com/shamim-akhtar/tutorial-pathfinding
csharp gamedevelopment pathfinding unity
Last synced: about 1 month ago
JSON representation
In this tutorial, we will implement a generic pathfinder in Unity using C#. We will approach the tutorial from a basic 2D grid-based pathfinding to a more robust generic pathfinder that we can use for a graph-based data structure. We will then apply our pathfinder to a variety of pathfinding problems.
- Host: GitHub
- URL: https://github.com/shamim-akhtar/tutorial-pathfinding
- Owner: shamim-akhtar
- License: cc0-1.0
- Created: 2021-07-04T06:25:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T07:42:52.000Z (9 months ago)
- Last Synced: 2024-03-30T08:31:21.707Z (9 months ago)
- Topics: csharp, gamedevelopment, pathfinding, unity
- Language: C#
- Homepage: https://faramira.com/implement-a-generic-pathfinder-in-unity-using-csharp/
- Size: 32 MB
- Stars: 19
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Generic Pathfinder in Unity using C#
## Note:
I am in the process of updating the codes to the latest Unity version and rewrite the tutorials. You can find the previous version of tutorial codes in the branch [2023](https://github.com/shamim-akhtar/tutorial-pathfinding/tree/2023)![Unity](https://img.shields.io/badge/Unity-2022.3.2f1-green) ![C#](https://img.shields.io/badge/%20-C%23-blue)
In this tutorial, we will implement a generic pathfinder in Unity using C#. We will approach the tutorial from a basic 2D grid-based pathfinding to a more robust generic pathfinder that we can use for a graph-based data structure. We will then apply our pathfinder to a variety of pathfinding problems.
## Try the WebGL Pathfining Playground
[![Pathfinding Playground](https://github.com/shamim-akhtar/tutorial-pathfinding/blob/part-6-combined-demo/Pictures/Playground.jpg)](https://faramira.com/downloads/pathfinding-playground/)### 1. [Implement a Generic Pathfinder in Unity using C#](https://faramira.com/implement-a-generic-pathfinder-in-unity-using-csharp/)
In this first tutorial, we create a generic pathfinder that is algorithm agnostic. Then we create three implementations of the pathfinder using the A*, Djikstra and Greedy best-first algorithm. We apply this generic pathfinder to various pathfinding problems (8-Puzzle, rectangular grid-based map and graph-based map).
### 2. [8-Puzzle Problem Using A* in C# and Unity](https://faramira.com/8-puzzle-problem-using-astar-in-csharp-and-unity/)
In the second tutorial, we apply our generic pathfinder and solve the 8-puzzle problem and demonstrate the application in Unity.
### 3. [2D Grid-Based Pathfinding Using C# and Unity](https://faramira.com/2d-grid-based-pathfinding-using-c-and-unity/)
In the third tutorial, we apply our generic pathfinder and solve the 2D grid-based pathfinding and demonstrate the application in Unity.
### 4. [Graph-Based Pathfinding Using C# in Unity](https://faramira.com/graph-based-pathfinding-using-c-in-unity/)
In the fourth tutorial, we apply our generic pathfinder and solve the graph-based pathfinding problem and demonstrate the application in Unity.