{if/else} [Unofficial Extension] for Scene and Global variables

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) returns true|false
  • IfNumber - Compare a scene variable (type number) returns true|false
  • IfBoolean - Compare a scene variable (type boolean) returns true|false

Global variables

  • IfStringGlobal - Compare a global variable (type string) returns true|false

  • IfNumberGlobal - Compare a global variable (type number) returns true|false

  • IfBooleanGlobal - Compare a global variable (type boolean) returns true|false

  • Else - Trigger when some of the If statements is false. returns true

Video tutorial

Alternative source

https://www.ulisesfreitas.com/gdevelop-extensions/

3 Likes