{"id":22965480,"url":"https://github.com/mujtaba-io/rts-unit-pathfinding-astar","last_synced_at":"2025-10-19T05:12:51.887Z","repository":{"id":267142149,"uuid":"890819413","full_name":"mujtaba-io/rts-unit-pathfinding-astar","owner":"mujtaba-io","description":"godot a-star implementation for RTS unit","archived":false,"fork":false,"pushed_at":"2024-12-13T15:33:04.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T04:29:08.163Z","etag":null,"topics":["ai","game","navigation-system","pathfinding","pathfinding-algorithm","rts-game"],"latest_commit_sha":null,"homepage":"https://gameidea.org/2024/12/08/making-navigation-system-for-path-finding/","language":"GDScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mujtaba-io.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,"publiccode":null,"codemeta":null}},"created_at":"2024-11-19T08:34:25.000Z","updated_at":"2024-12-15T21:54:07.000Z","dependencies_parsed_at":"2024-12-08T17:19:11.895Z","dependency_job_id":"2047d377-c26e-4a87-9bbc-93bc73855807","html_url":"https://github.com/mujtaba-io/rts-unit-pathfinding-astar","commit_stats":null,"previous_names":["mujtaba-io/rts-unit-pathfinding-astar"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mujtaba-io/rts-unit-pathfinding-astar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujtaba-io%2Frts-unit-pathfinding-astar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujtaba-io%2Frts-unit-pathfinding-astar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujtaba-io%2Frts-unit-pathfinding-astar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujtaba-io%2Frts-unit-pathfinding-astar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mujtaba-io","download_url":"https://codeload.github.com/mujtaba-io/rts-unit-pathfinding-astar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujtaba-io%2Frts-unit-pathfinding-astar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268047936,"owners_count":24187209,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai","game","navigation-system","pathfinding","pathfinding-algorithm","rts-game"],"created_at":"2024-12-14T20:14:46.135Z","updated_at":"2025-10-19T05:12:51.789Z","avatar_url":"https://github.com/mujtaba-io.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RTS game unit path finding using A-star algorithm\n\nRTS unit path finding implementation for my [godot RTS game](https://gameidea.org/2024/12/13/how-to-make-an-rts-game-in-godot/) tutorial series. In this implementation, I implemented [navigation system](https://gameidea.org/2024/12/13/making-navigation-system-for-path-finding/) using A-star algorithm in similar fashion to what my original tutorial on pathfinding using astar algoroithm were (that was in python). Here I used godot's built-in a-star implementation to work on my custom graph, and a function to find shortest path from source to destination position.\n\nAdditionally, I implemented [path simplification algorithm](https://gameidea.org/short-posts/make-paths-smooth-using-path-simplification/) to smoothen the path geenrated by A-star algorithm, since the astar path was more stairy/jagged/zigzad as the graph's edges were made that way. The overall result is satisfactory \u0026 should be integrated with my RTS unit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmujtaba-io%2Frts-unit-pathfinding-astar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmujtaba-io%2Frts-unit-pathfinding-astar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmujtaba-io%2Frts-unit-pathfinding-astar/lists"}