Flocking Steering Behavior in GameMaker Studio 2 @SamSpadeGameDev
Flocking Steering Behavior in GameMaker Studio 2  @SamSpadeGameDev
Uploaded December 2021 | Updated December 2026, 3 hours ago
Learn how to code the align, cohesion, and separation steering behaviors and combine them to create the flocking behavior. This tutorial builds off of the previous videos on Vectors and Steering Behaviors in GameMaker Studio 2 series.

Steering behaviors were invented by Craig Reynolds and you can read his original paper for free here: researchgate.net/publication/2495826_Steering_Behaviors_For_Autonomous_Characters

Patreon Support
patreon.com/samspadegamedev

Source Code on Github
github.com/samspadegamedev/YouTube-Vectors-and-Steering-Behaviors

Playlist:
youtube.com/playlist?list=PLwgH1hDD0q1Hf7A0AfnRT2W6cfHOdzm_g

Outline
0:00 What is Flocking
0:18 Align Concept
0:40 Align Code
1:45 Cohesion Concept
2:16 Cohesion Code
3:03 Separation Conception
3:53 Separation Code
6:02 Applying a Distance Check
7:52 Flocking can cause Lag

#GameMaker
#Vectors
#SteeringBehaviors
#Flocking
#GML
Flocking Steering Behavior in GameMaker Studio 2Picky LoopsToggle Buttons in GameMaker Studio 2.3Vision Cones Distance, Direction, and AnglesToggle Buttons 2.25Grabable Buttons GameMaker Studio 2.3Multitouch Basics [GameMaker Studio 2.3.1]Procedural Generation and Cellular Automata in GameMaker Studio 2.3Garbage Collection [GameMaker Studio 2.3.1]Git and Github for GameMakerTips and Tricks for Translating Code to GMLEndless Runner (Tiny Games with Source Code!)
SamSpadeGameDev |

Flocking Steering Behavior in GameMaker Studio 2

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER