ScratchData LogoScratchData
Back to S_Tutorials's profile

Pathfinding

S_S_Tutorials•Created May 19, 2017
Pathfinding
185
160
3693 views
View on Scratch

Description

Pathfinding: INSTRUCTIONS: -Use mouse to view the world -Click on a tile to add or remove a wall. -Press SPACE to set the destination. -Watch as the blue square travels to its destination around the walls In this program, the blue square always calculates the shortest path to its destination if it is possible to reach there. This is very useful for programming enemies in games. I have not put comments in the scripts yet.

Project Details

Project ID161985844
CreatedMay 19, 2017
Last ModifiedMay 19, 2017
SharedMay 19, 2017
Visibilityvisible
CommentsAllowed