Uploaded March 2020 | Updated December 2026, 3 hours ago
Part 1 of Arrays in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/10_arrays.html
marketplace.yoyogames.com/assets/8736/array-functions
Slides and Source Code:
Github (source code and slides)
github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Patreon Support
patreon.com/samspadegamedev
Part 1 of Arrays in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/10_arrays.html
marketplace.yoyogames.com/assets/8736/array-functions
Slides and Source Code:
Github (source code and slides)
github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Patreon Support
patreon.com/samspadegamedev

![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)






