Code AI Swarms, Flocks & Hordes | Boids Scratch Tutorial

Описание к видео Code AI Swarms, Flocks & Hordes | Boids Scratch Tutorial

Learn how to code Boids AI in Scratch (originally created by Craig Reynolds in 1986 to simulate the realistic flocking behaviour of birds). But this can be used for swarms of aliens, hordes of Zombies or waves of enemy NPCs, so you too can bring amazing artificial life simulations in to your games. Follow the basic 3 steps, Separation, Cohesion, & Alignment and get 50+ boid clones interacting with each other and with your mouse - Now Scratch on Guys!

My tutorials are for all budding game & software developers using Code Blocks. Full of useful Scratch Tips and coding goodness for beginner coders to advanced Scratchers!

🐱 Scratch Studio for this tutorial - https://scratch.mit.edu/studios/31985...

🚀 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

👀 Quick and Fun Tutorials -    • Quick and Fun Scratch Tutorials  

❤️ Scratch Addons - https://scratchaddons.com/

📹 Video Editing Software - https://techsmith.pxf.io/c/2682566/50...

-------------Video Chapters-------------
0:00 Intro
1:49 Draw a Boid
3:01 Clone the Boids
4:38 Get them moving
8:10 Pointing a sprite towards a vector (speed x, speed y)
9:53 Speed Levelling
13:51 Sight – Awareness of other Boids using Lists
16:58 Separation / Avoidance
23:23 Cohesion – Herding / Sticking together as a group
26:48 Alignment – Heading in the same direction
30:05 Show Hide the UI Sliders
31:34 Avoid Mouse?
32:58 Outro

Комментарии

Информация по комментариям в разработке