Uploaded October 2021 | Updated December 2026, 3 hours ago
Learn how to code the steering behaviors pursue, evade, and arrive. 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
If you want a more accurate prediction of the future position, checkout this article:
gamedevelopment.tutsplus.com/tutorials/understanding-steering-behaviors-pursuit-and-evade--gamedev-2946
Outline
0:00 Pursue and Evade Explained
1:31 Coding Pursue and Evade
4:23 Arrive Explained
6:04 Coding the Arrive Behavior
Developer by Taurusa Mahda Saputra
lottiefiles.com/55885-developer
#GameMaker
#Vectors
#SteeringBehaviors
#GML
Learn how to code the steering behaviors pursue, evade, and arrive. 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
If you want a more accurate prediction of the future position, checkout this article:
gamedevelopment.tutsplus.com/tutorials/understanding-steering-behaviors-pursuit-and-evade--gamedev-2946
Outline
0:00 Pursue and Evade Explained
1:31 Coding Pursue and Evade
4:23 Arrive Explained
6:04 Coding the Arrive Behavior
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)