Hi mates I just want to share a new little extension to simulate an if/else statement.
If-Else-for-GDevelop
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
If
statements is false. returnstrue