Game Development Reference
In-Depth Information
Click on the Save button and then on the OK button to save your macro.
This variable can now be used in any object in the game at any time. The variable should
be syntax highlighted when using its name in code.
Syntax highlighting is the automatic highlighting of text when programming. For ex-
ample, in GML, function names, resource names, and macro names are all automatically
shown in a different color to the normal text. You can see this in the following screenshot:
Search WWH ::




Custom Search