GM_version

Holds the version number as defined in the Global Game Settings.

Syntax:

GML Code Example

GM_version;


Returns: String


Description

This constant hold the version number as defined in the Global Game Settings for each target platform. The value is stored as a string.


Example:

GML Code Example

draw_text(32, 32, date_time_string(GM_build_date));
 draw_text(32, 64, "v" + GM_version);
 

The above code takes the GM date and version constants and draws them to the screen.


Next: game_id



No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here