Simple Pathfinding Tutorial

Publié le: 26 avril 2021
sur la chaîne: griffpatch
672,578
12k

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

🚀 Boost Your Creativity with Griffpatch
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 https://griffpatch.academy 👈

😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu

❤️ Enhanced Scratch Developer Tools
https://www.griffpatch.co.uk/

📹 The Awesome Video Editing software I use (Camtasia)
https://techsmith.z6rjha.net/5bajbo

Hope you enjoy!!! And Scratch On!


Sur cette page du site, vous pouvez voir la vidéo en ligne Simple Pathfinding Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur griffpatch 26 avril 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 672,578 fois et il a aimé 12 mille téléspectateurs. Bon visionnage!