Code AI Swarms, Flocks & Hordes | Boids Scratch Tutorial

https://www.youtube.com/watc...
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/31985911/comments šŸ‘€ Quick and Fun Tutorials - https://www.youtube.com/playlist?list=PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_ ā­ Channel membership with perks - https://www.youtube.com/channel/UCawsI_mlmPA7Cfld-qZhBQA/join ā¤ļø Scratch Addons - https://scratchaddons.com/ šŸ“¹ Video Editing Software - https://techsmith.pxf.io/c/2682566/506622/5161 --------------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