Are there any good astar tutorials that can be used in a Tilemap node or something similar? Or a good pathfinding code/algorithm that I can use?
This video may help. Godot Node-Based Astar Pathfinding. I haven't personally evaluated it, but there are a few positive replies in the comments.