Discuss Scratch

DOORISSTUCK
Scratcher
22 posts

Pathfinding

I need help making a better pathfinding script, heres the current one: https://scratch.mit.edu/projects/874644061/
Spentinium
Scratcher
100+ posts

Pathfinding

You may find griffpatch's simple AI pathfinding script useful: https://scratch.mit.edu/projects/450977183/
DOORISSTUCK
Scratcher
22 posts

Pathfinding

Thats ironic I just went there
DOORISSTUCK
Scratcher
22 posts

Pathfinding

didnt help much
NIKI-KOLCHAGOV
Scratcher
500+ posts

Pathfinding

DOORISSTUCK wrote:

I need help making a better pathfinding script, heres the current one: https://scratch.mit.edu/projects/874644061/

i think you might need to use a flood filling algorithm
DOORISSTUCK
Scratcher
22 posts

Pathfinding

a flood filling allgorithM?
Spentinium
Scratcher
100+ posts

Pathfinding

DOORISSTUCK wrote:

a flood filling allgorithM?
A* search algorithm

Breadth first search isn't as good as A*. A* is the standard pathfinding algorithm in games.
DOORISSTUCK
Scratcher
22 posts

Pathfinding

How would I code that?

Powered by DjangoBB