The Shaggy Dev | Using the AStarGrid2D class in Godot 4 @TheShaggyDev | Uploaded December 2022 | Updated October 2024, 3 hours ago.
New to Godot 4, the AStarGrid2D class makes solving grid-based layouts a lot easier than the existing AStar2D class while also adding some performance improvements and control for how that pass is found.
Basic usage: 00:00
Customizing the heuristic: 01:26
Using diagonals: 02:24
Jumping: 02:58
Text version: shaggydev.com/2022/12/19/godot-astargrid2d
Sample code: github.com/theshaggydev/the-shaggy-dev-projects/tree/main/projects/godot-4/astargrid2d
AStarGrid2D documentation: docs.godotengine.org/en/latest/classes/class_astargrid2d.html
Introduction to A*: redblobgames.com/pathfinding/a-star/introduction.html
A* Heuristics: https://theory.stanford.edu/~amitp/GameProgramming/Heuristics.html
New to Godot 4, the AStarGrid2D class makes solving grid-based layouts a lot easier than the existing AStar2D class while also adding some performance improvements and control for how that pass is found.
Basic usage: 00:00
Customizing the heuristic: 01:26
Using diagonals: 02:24
Jumping: 02:58
Text version: shaggydev.com/2022/12/19/godot-astargrid2d
Sample code: github.com/theshaggydev/the-shaggy-dev-projects/tree/main/projects/godot-4/astargrid2d
AStarGrid2D documentation: docs.godotengine.org/en/latest/classes/class_astargrid2d.html
Introduction to A*: redblobgames.com/pathfinding/a-star/introduction.html
A* Heuristics: https://theory.stanford.edu/~amitp/GameProgramming/Heuristics.html