Home | Customize | Blog | Extras | Log In | Info
Manual | D&D icons | GML Parser | Archive | Iso City
Username: Password:  
About | Features | Directory | Banners | Contact

Designing Games with GameMaker
Designing Games with GameMaker

Assignments

An assignment stores a value in a variable. An assignment has the form:

<variable> = <expression>;

An expression can be a simple value but can also be more complicated. Rather than assigning a value to a variable, one can also add the value to the current value of the variable using +=. Similar, you can subtract it using -=, multiply it using *=, divide it using /= ,or use bitwise operators using |=, &\, or ^=.

Search Search


Alternative versions Alternative versions

You can also read this manual on one single long page (± 1.5 mb)

Also available in: Dutch French German

ZIP Download helpfile

Advertisement Advertisement

GameMaker Manual