-Use space to see the map -Use space to show Scratch Cat -All of the things is by @griffpatch
Thanks to @griffpatch for the YouTube and comment Simple Pathfinding Tutorial by @griffpatch https://www.youtube.com/watch?v=0faPPgOT--E Ever wondered how that enemy AI manages to move through a level, navigating around corners, skipping dead-ends, and finding that shortest route to the player through a maze? I’m griffpatch, and today we will be delving into the world of enemy AI pathfinding and learn how to code a simple path finding script using Scratch to solve a maze. We will cover: • creating a simple maze or level in the costume editor • Setting a goal • Working backwards from the goal to create a pathway map of the level • Teaching Scratch cat to follow the map • A quick and smooth rotate towards block • Add in many sprite clones searching out the same target • And finally dynamic target changing Hope you enjoy!!! And Scratch On!