Code Style [GameMaker Studio 2] @SamSpadeGameDev
Code Style [GameMaker Studio 2]  @SamSpadeGameDev
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
Code Style [GameMaker Studio 2]Github Fundamentals for GameMaker StudioLocal Asset Packages in GameMaker Studio[incomplete in 2.3] Data Structures Introduction Part 2 [GameMaker Studio 2]Mouse Manager 2 25The Debugger [GameMaker Studio 2]Recursion (Part 1) [GameMaker Studio 2]Beyond Alarms  [GameMaker Studio 2.3]Queues [GameMaker Studio 2]The Crusher EnemyAnonymous Functions [GameMaker Studio 2.3]Marketplace Public Service Announcement
SamSpadeGameDev |

Code Style [GameMaker Studio 2]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER