Uploaded September 2020 | Updated December 2026, 3 hours ago
An introduction to the Let's Make a Choose Your Own Adventure Style Game in GameMaker Studio 2.3. This is a continuation of the JSON series. In Part 1, I will (quickly) go over the project set up. Part 2 will cover setting up the JSON data and then importing and using it.
Support me on Patreon!
patreon.com/samspadegamedev
Github Repository (Source Code):
github.com/samspadegamedev/Choose-Your-Own-Adventure
Loop Tutorials
youtube.com/playlist?list=PLwgH1hDD0q1Es6P8T1t9ew9cyUTvhlbY0
Data Structures Tutorials
youtube.com/playlist?list=PLwgH1hDD0q1EZZkiGhvUAoaNtXzSfz82C
Outline
0:00 Introduction
0:15 Part 1 Setup
0:36 Part 2 JSON Integration
#GameMaker
#JSON
#GML
An introduction to the Let's Make a Choose Your Own Adventure Style Game in GameMaker Studio 2.3. This is a continuation of the JSON series. In Part 1, I will (quickly) go over the project set up. Part 2 will cover setting up the JSON data and then importing and using it.
Support me on Patreon!
patreon.com/samspadegamedev
Github Repository (Source Code):
github.com/samspadegamedev/Choose-Your-Own-Adventure
Loop Tutorials
youtube.com/playlist?list=PLwgH1hDD0q1Es6P8T1t9ew9cyUTvhlbY0
Data Structures Tutorials
youtube.com/playlist?list=PLwgH1hDD0q1EZZkiGhvUAoaNtXzSfz82C
Outline
0:00 Introduction
0:15 Part 1 Setup
0:36 Part 2 JSON Integration
#GameMaker
#JSON
#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)