Daniel Lyons' Notes

Point & click 2D grid movement in Godot 4 using AStarGrid2D

Description

In this tutorial we'll take a look at how to move a 2D character to a position clicked by the cursor whilst using AStarGrid2D to also dodge obstacles.

My Notes

0:00 - 0:24 - Intro

0:25 - 2:12 - Tile map setup

2:13 - 10:47 - Point & click movement

10:48 - 16:52 - Disabling cells

16:53 - 21:02 - Lock player to grid

21:03 - 24:32 - Drawing path

Transcript

Point & click 2D grid movement in Godot 4 using AStarGrid2D
Interactive graph
On this page
Description
My Notes
0:00 - 0:24 - Intro
0:25 - 2:12 - Tile map setup
2:13 - 10:47 - Point & click movement
10:48 - 16:52 - Disabling cells
16:53 - 21:02 - Lock player to grid
21:03 - 24:32 - Drawing path
Transcript