Uploaded November 2021 | Updated December 2026, 3 hours ago
Learn how to code the wander steering behavior and combine steering behaviors together to create complex results. 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 Wandering and Adding Forces Together
0:20 Random Wander
1:00 Perlin Noise Wander
3:22 Reynolds Wander
6:31 Adding Forces Generally
7:41 Weighting Forces
8:54 Changing State
Developer by Taurusa Mahda Saputra
lottiefiles.com/55885-developer
#GameMaker
#Vectors
#SteeringBehaviors
#GML
Learn how to code the wander steering behavior and combine steering behaviors together to create complex results. 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 Wandering and Adding Forces Together
0:20 Random Wander
1:00 Perlin Noise Wander
3:22 Reynolds Wander
6:31 Adding Forces Generally
7:41 Weighting Forces
8:54 Changing State
Developer by Taurusa Mahda Saputra
lottiefiles.com/55885-developer
#GameMaker
#Vectors
#SteeringBehaviors
#GML


![Struct Based Alarms [GameMaker Studio 2.3]
A tutorial about the creating an alarm with Structs in GameMaker Studio 2.3.
Patreon Support
https://www.patreon.com/samspadegamedev
Alarm Source Code
https://github.com/samspadegamedev/Struct-Alarms
Outline
0:00 Introduction
0:19 Code
4:16 Diagram
5:01 Pros and Cons
#GameMaker
#Alarms
#GML Struct Based Alarms [GameMaker Studio 2.3]](https://i.ytimg.com/vi/_DjMZV_ojV4/mqdefault.jpg)


![Importing JSON Data as Structs and Arrays in GameMaker 2.3.1 [read 2.3.2 note for update]
In 2.3.1 we can now import JSON data as structs and arrays in GameMaker! Heres how. IMPORTANT NOTE: in 2.3.2 null values are now imported as a null pointer instead of simply being deleted.
Support me on Patreon!
https://www.patreon.com/samspadegamedev
Outline
0:00 JSON Data as Structs and Arrays
0:29 Translating JSON Data
0:56 What does the data become?
1:38 No More Memory Leaks!
1:59 Steps to Import
2:54 Code Example
4:30 Basic Importing (JSON Data with no line breaks)
5:29 Using a Custom Function to Import
7:02 An Important difference between parse and decode
8:49 How to Follow Along
9:08 Summary
Links:
https://manual.yoyogames.com/GameMaker_Language/GML_Reference/File_Handling/Encoding_And_Hashing/json_parse.htm
https://manual.yoyogames.com/GameMaker_Language/GML_Reference/File_Handling/Encoding_And_Hashing/json_decode.htm
#GameMaker
#JSON
#GML Importing JSON Data as Structs and Arrays in GameMaker 2.3.1 [read 2.3.2 note for update]](https://i.ytimg.com/vi/a7i8gdYe6DE/mqdefault.jpg)
![[incomplete in 2.3] Data Structures Introduction Part 1 [GameMaker Studio 2]
Part 1 of the introduction to data structures in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
https://en.wikipedia.org/wiki/Data_structure
https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/data_structures/index.html
https://docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/13_accessors.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 [incomplete in 2.3] Data Structures Introduction Part 1 [GameMaker Studio 2]](https://i.ytimg.com/vi/alCnQtxeF_o/mqdefault.jpg)
![Event Order [GameMaker Studio 2]
A short tutorial on event order in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
https://docs2.yoyogames.com/source/_build/2_interface/1_editors/events/index.html
https://docs2.yoyogames.com/source/_build/2_interface/1_editors/events/draw_events.html
https://marketplace.yoyogames.com/assets/5360/fc-s-depth-system
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 Event Order [GameMaker Studio 2]](https://i.ytimg.com/vi/atYzhQ26ZyA/mqdefault.jpg)

![For Loops Basics [GameMaker Studio 2]
A short tutorial about For Loops in Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
https://docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/14_language_features.html
https://en.wikipedia.org/wiki/For_loop
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 For Loops Basics [GameMaker Studio 2]](https://i.ytimg.com/vi/bBan8_-y2s4/mqdefault.jpg)
![You are the Programmer [GameMaker Studio 2]
A short tutorial in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
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 You are the Programmer [GameMaker Studio 2]](https://i.ytimg.com/vi/bZ-bcf7UZ14/mqdefault.jpg)