Uploaded December 2021 | Updated December 2026, 3 hours ago
Learn how to optimize the steering behaviors we've been working on. 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
Setting up the YYC:
help.yoyogames.com/hc/en-us/articles/235186048-Setting-Up-For-Windows
help.yoyogames.com/hc/en-us/articles/227860547-GMS2-Required-SDKs
youtube.com/watch?v=P08i1kCmu3Y @DragoniteSpam
Code Pictured
natureofcode.com/book/chapter-6-autonomous-agents
gamedevelopment.tutsplus.com/tutorials/understanding-steering-behaviors-leader-following--gamedev-10810
Playlist:
youtube.com/playlist?list=PLwgH1hDD0q1Hf7A0AfnRT2W6cfHOdzm_g
Outline
0:00 Optimizing Steering Behaviors
1:01 The Starting Point
2:22 Using the YYC Compiler
3:36 Run Less Code
5:59 Limit the Loops
7:07 Should You Use Arrays
8:02 Can the Code be Even Faster?
#GameMaker
#Vectors
#SteeringBehaviors
#Flocking
#GML
Developer by Taurusa Mahda Saputra
lottiefiles.com/55885-developer
Learn how to optimize the steering behaviors we've been working on. 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
Setting up the YYC:
help.yoyogames.com/hc/en-us/articles/235186048-Setting-Up-For-Windows
help.yoyogames.com/hc/en-us/articles/227860547-GMS2-Required-SDKs
youtube.com/watch?v=P08i1kCmu3Y @DragoniteSpam
Code Pictured
natureofcode.com/book/chapter-6-autonomous-agents
gamedevelopment.tutsplus.com/tutorials/understanding-steering-behaviors-leader-following--gamedev-10810
Playlist:
youtube.com/playlist?list=PLwgH1hDD0q1Hf7A0AfnRT2W6cfHOdzm_g
Outline
0:00 Optimizing Steering Behaviors
1:01 The Starting Point
2:22 Using the YYC Compiler
3:36 Run Less Code
5:59 Limit the Loops
7:07 Should You Use Arrays
8:02 Can the Code be Even Faster?
#GameMaker
#Vectors
#SteeringBehaviors
#Flocking
#GML
Developer by Taurusa Mahda Saputra
lottiefiles.com/55885-developer
![Variable Basics [GameMaker Studio 2]
A short tutorial on understanding variables and how they work in GameMaker. Part of the Coding Fundamentals in GML Tutorial.
Patreon Support
https://www.patreon.com/samspadegamedev
Links
https://docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/6_scope.html
https://docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/9_data_types.html
https://en.wikipedia.org/wiki/Variable_(computer_science)
https://github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Outline
0:00 What is a Variable?
0:29 How to Name a Variable
1:11 Using a Variable
3:08 Variable Not Set Error
3:33 Code Demonstration
5:48 Summary
#GameMaker
#CodingFundamentals
#GML Variable Basics [GameMaker Studio 2]](https://i.ytimg.com/vi/UxPG9--Ggts/mqdefault.jpg)
![[wrong in 2.3] Script Basics (part 2) [GameMaker Studio 2]
Part 2 on Script Basics in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
https://docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/3_scripts.html
https://docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/2_functions.html
https://docs2.yoyogames.com/source/_build/1_overview/3_additional_information/jsdoc.html
https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/scripts/index.html
https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/scripts/script_execute.html
Slides and Source Code:
Github (source code and slides)
https://github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Patreon Support
https://www.patreon.com/samspadegamedev
#GameMaker
#CodingFundamentals
#GML [wrong in 2.3] Script Basics (part 2) [GameMaker Studio 2]](https://i.ytimg.com/vi/VbyB63fFPdU/mqdefault.jpg)
![Stacks [GameMaker Studio 2]
A short tutorial on ds_stacks in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/data_structures/index.html
https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/data_structures/ds%20stacks/index.html
https://en.wikipedia.org/wiki/Stack_(abstract_data_type)
Slides and Source Code:
Github (source code and slides)
https://github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Patreon Support
https://www.patreon.com/samspadegamedev
#GameMaker
#CodingFundamentals
#GML Stacks [GameMaker Studio 2]](https://i.ytimg.com/vi/X8Q2tkpAgJg/mqdefault.jpg)







