If-Else-for-GDevelop
October 29, 2022 ยท View on GitHub
A simple extension to add if/else logic to scene variables and global variables.
If Else - For Scene variables & Global variables
If Else an extension to compare scene variables and global variables with an if/else notation.
Conditions
Scene variables
- IfString - Compare a
scene variable (type string)returnstrue|false - IfNumber - Compare a
scene variable (type number)returnstrue|false - IfBoolean - Compare a
scene variable (type boolean)returnstrue|false
Global variables
-
IfStringGlobal - Compare a
global variable (type string)returnstrue|false -
IfNumberGlobal - Compare a
global variable (type number)returnstrue|false -
IfBooleanGlobal - Compare a
global variable (type boolean)returnstrue|false -
Else - Trigger when some of the
Ifstatements is false. returnstrue
Video tutorial
https://www.youtube.com/watch?v=Ocprm8YPgLo