Variables overview popularité : 89
Global Variables popularité : 91
Local Variables popularité : 91
List Variables popularité : 92
Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Slide 6
Slide 7
Slide 8
Slide 9
Slide 10
IMAGE OR CARROUSEL for section header You successfully read this important alert message.

TEXTE AVANT FILTRAGE

Creating and Editing

To create and edit global variables open the Preferences Menu [⌘+P] and select the Variables option.

To create a new global variable type in the name and press return or click on the + button. You’ll create a variable of type null, which means it holds no value.

Choose which type of value a variable will hold. You can then initialize its default value.

Saving Variables

Some variable types (strings, numbers, booleans, Colors, ...) can be saved between game sessions. This allows the player to pick up the game where they left when closing the application.
Not all variables can be saved between play sessions. For example, Game Objects can’t be saved because they are references to scene objects and thus they might not be present when reloading a scene.
To save a variable between sessions, mark the little checkbox next to its name. The header of the variable then will inform you that this variable is savable.

Tags

A game can end up with thousands of global variables. Game Creator doesn’t put any limit to the amount of varTEXTE APRES FILTRAGE
-  : liste tous les intertitres de l’article
-  : liste tous les documents de l’article sous forme de mini-vignette non cliquables. Avec deux paramètres :

width : largeur de la vignette en px,
raz : nombre de vignette sur une seule ligne. Juste après la Nième(raz) vignette, un
est inséré.

>