Conditional Statements [GameMaker Studio 2] @SamSpadeGameDev
Conditional Statements [GameMaker Studio 2]  @SamSpadeGameDev
Uploaded January 2020 | Updated December 2026, 3 hours ago
A short tutorial about conditional statements in GameMaker Studio 2.

Resource Links:
docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/14_language_features.html
en.wikipedia.org/wiki/Conditional_(computer_programming)


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 are Conditional Statements?
0:54 Three forms of if
1:10 If
1:50 Else
2:44 Else If
4:36 Combing it All Together
4:57 Code Example
6:26 Summary

#GameMaker
#CodingFundamentals
#GML
Conditional Statements [GameMaker Studio 2]Chaining Accessors [GameMaker Studio 2.3][wrong in 2.3] Script Basics part 1 [GameMaker Studio 2]GMS 2 Manual Tutorial [GameMaker Studio 2]Flocking Steering Behavior in GameMaker Studio 2Picky LoopsToggle Buttons in GameMaker Studio 2.3Vision Cones Distance, Direction, and AnglesToggle Buttons 2.25Grabable Buttons GameMaker Studio 2.3Multitouch Basics [GameMaker Studio 2.3.1]Procedural Generation and Cellular Automata in GameMaker Studio 2.3
SamSpadeGameDev |

Conditional Statements [GameMaker Studio 2]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER