game_display_name

Returns the game name string as defined in the Global Game Settings.

Syntax:

game_display_name


Returns: String


Description

This read only variable returns the display name of your game for the target platform, as set in the Global Game Settings.

NOTE: This is a Pro version only variable, and on the regular version it will always return "Made With GameMaker: Studio".




Example:

var name = game_display_name;
var ver = string(GM_version);
draw_text(32, 32, name + ":" + ver);

The above code gets the display name and the version number of the game and draws them.


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