{"id":20718777,"url":"https://github.com/shamim-akhtar/tutorial-pathfinding","last_synced_at":"2025-04-23T14:14:01.299Z","repository":{"id":47605637,"uuid":"382780001","full_name":"shamim-akhtar/tutorial-pathfinding","owner":"shamim-akhtar","description":"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.","archived":false,"fork":false,"pushed_at":"2024-03-30T07:42:52.000Z","size":33526,"stargazers_count":19,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T14:13:51.517Z","etag":null,"topics":["csharp","gamedevelopment","pathfinding","unity"],"latest_commit_sha":null,"homepage":"https://faramira.com/implement-a-generic-pathfinder-in-unity-using-csharp/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shamim-akhtar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-07-04T06:25:41.000Z","updated_at":"2024-03-14T17:02:01.000Z","dependencies_parsed_at":"2024-03-26T17:29:46.278Z","dependency_job_id":null,"html_url":"https://github.com/shamim-akhtar/tutorial-pathfinding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamim-akhtar%2Ftutorial-pathfinding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamim-akhtar%2Ftutorial-pathfinding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamim-akhtar%2Ftutorial-pathfinding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamim-akhtar%2Ftutorial-pathfinding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shamim-akhtar","download_url":"https://codeload.github.com/shamim-akhtar/tutorial-pathfinding/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250447982,"owners_count":21432165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","gamedevelopment","pathfinding","unity"],"created_at":"2024-11-17T03:14:52.971Z","updated_at":"2025-04-23T14:14:01.252Z","avatar_url":"https://github.com/shamim-akhtar.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generic Pathfinder in Unity using C#\n\n## Note:\nI 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)\n\n![Unity](https://img.shields.io/badge/Unity-2022.3.2f1-green) ![C#](https://img.shields.io/badge/%20-C%23-blue)\n\n\nIn 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.\n\n## Try the WebGL Pathfining Playground\n[![Pathfinding Playground](https://github.com/shamim-akhtar/tutorial-pathfinding/blob/part-6-combined-demo/Pictures/Playground.jpg)](https://faramira.com/downloads/pathfinding-playground/)\n\n### 1. [Implement a Generic Pathfinder in Unity using C#](https://faramira.com/implement-a-generic-pathfinder-in-unity-using-csharp/)\n\nIn 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).\n\n### 2. [8-Puzzle Problem Using A* in C# and Unity](https://faramira.com/8-puzzle-problem-using-astar-in-csharp-and-unity/)\n\nIn the second tutorial, we apply our generic pathfinder and solve the 8-puzzle problem and demonstrate the application in Unity.\n\n### 3. [2D Grid-Based Pathfinding Using C# and Unity](https://faramira.com/2d-grid-based-pathfinding-using-c-and-unity/)\n\nIn the third tutorial, we apply our generic pathfinder and solve the 2D grid-based pathfinding and demonstrate the application in Unity.\n\n### 4. [Graph-Based Pathfinding Using C# in Unity](https://faramira.com/graph-based-pathfinding-using-c-in-unity/)\n\nIn the fourth tutorial, we apply our generic pathfinder and solve the graph-based pathfinding problem and demonstrate the application in Unity.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshamim-akhtar%2Ftutorial-pathfinding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshamim-akhtar%2Ftutorial-pathfinding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshamim-akhtar%2Ftutorial-pathfinding/lists"}