GM_version

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

Syntax:

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:

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.


Back: Miscellaneous
Next: game_id
© Copyright YoYo Games Ltd. 2018 All Rights Reserved