im trying to make a game with the pathfinding and im trying to make it pathfind a player and not a location. also it will only pathfind the player if it is within like 20 tiles or smth. also im not using the follow block
1 Like
You can do this with the a-star extension! Just paste the GitHub link into the extension search bar!
1 Like
i know that the pathfinding extension can move between points but is it possible to make the sprite that is pathfinding to pathfind a player instead of 2 points
1 Like
Just put in the player x/y as the point to be path-found(?) to! If it requires a tilemap position there’s a “tilemap position of (mySprite)” block. Then you just update the a* code every so often in a loop so that when the player moves it updates correctly.
Ok Thanks!
1 Like