Uploaded January 2020 | Updated December 2026, 3 hours ago
A short tutorial on Code Style in the Coding Fundamentals in GML Tutorial Series
Resource Links:
docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/1_code.html
en.wikipedia.org/wiki/The_Elements_of_Programming_Style
en.wikipedia.org/wiki/Indentation_style#Styles
Slides and Source Code:
Github (source code and slides)
github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Patreon Support
patreon.com/samspadegamedev
Outline
0:00 What Is Code Style?
1:07 Why It Matters
1:43 What Is Good Code Style?
2:51 K & R and Allman Indentation
3:50 Whitespace
4:17 Capitalization
5:06 Naming Conventions
6:01 Comments
8:30 GML Flexibility
9:01 Summary
#GameMaker
#CodingFundamentals
#GML
A short tutorial on Code Style in the Coding Fundamentals in GML Tutorial Series
Resource Links:
docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/1_code.html
en.wikipedia.org/wiki/The_Elements_of_Programming_Style
en.wikipedia.org/wiki/Indentation_style#Styles
Slides and Source Code:
Github (source code and slides)
github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Patreon Support
patreon.com/samspadegamedev
Outline
0:00 What Is Code Style?
1:07 Why It Matters
1:43 What Is Good Code Style?
2:51 K & R and Allman Indentation
3:50 Whitespace
4:17 Capitalization
5:06 Naming Conventions
6:01 Comments
8:30 GML Flexibility
9:01 Summary
#GameMaker
#CodingFundamentals
#GML


![[incomplete in 2.3] Data Structures Introduction Part 2 [GameMaker Studio 2]
Part 2 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 2 [GameMaker Studio 2]](https://i.ytimg.com/vi/q0ebsozZGfg/mqdefault.jpg)

![The Debugger [GameMaker Studio 2]
A short video on the built in debugger module in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
https://docs2.yoyogames.com/source/_build/2_interface/2_extras/debugging.html
https://developer.amazon.com/blogs/appstore/post/e7fba237-aa17-46a5-bcf4-f7228a3107d1/debugging-with-gamemaker-studio-2
https://developer.amazon.com/blogs/appstore/post/8731aea0-68ad-4702-af95-343237a78e7e/advanced-debugging-and-profiling-in-gamemaker-studio-2
https://www.youtube.com/watch?v=iJH_uTq9iOQ
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 The Debugger [GameMaker Studio 2]](https://i.ytimg.com/vi/qp3_2LunKXI/mqdefault.jpg)
![Recursion (Part 1) [GameMaker Studio 2]
A short tutorial on Recursion in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
https://www.youtube.com/watch?v=Mv9NEXX1VHc
https://www.youtube.com/watch?v=jPsZwrV9ld0
https://en.wikipedia.org/wiki/Recursion_(computer_science)
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 Recursion (Part 1) [GameMaker Studio 2]](https://i.ytimg.com/vi/r9KU0F3fhFo/mqdefault.jpg)
![Beyond 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
Outline
0:00 A Basic Rubric For Evaluation
1:24 A Concrete Example
3:54 An Observation
#GameMaker
#Alarms
#GML Beyond Alarms [GameMaker Studio 2.3]](https://i.ytimg.com/vi/rFZZK46R_-I/mqdefault.jpg)
![Queues [GameMaker Studio 2]
A short tutorial on ds_queues 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%20queues/index.html
https://en.wikipedia.org/wiki/Queue_(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 Queues [GameMaker Studio 2]](https://i.ytimg.com/vi/rJEnfBuQ3Gw/mqdefault.jpg)

![Anonymous Functions [GameMaker Studio 2.3]
A short tutorial about anonymous functions (and callbacks) in GameMaker Studio 2.3 in the Coding Fundamentals in GML Tutorial Series.
Patreon Support
https://www.patreon.com/samspadegamedev
Github Repository
https://github.com/samspadegamedev/YouTube-Coding-Fundamentals-in-GML-2.3
Links:
https://manual.yoyogames.com/GameMaker_Language/GML_Overview/Script_Functions.htm
0:00 What are Anonymous Functions
0:29 Anonymous function example
1:57 Code Examples
3:45 Callback Functions (array_every example)
6:16 Summary
#GameMaker
#CodingFundamentals
#GML
#Functions Anonymous Functions [GameMaker Studio 2.3]](https://i.ytimg.com/vi/rTZjVM9KGT0/mqdefault.jpg)
