game_display_name

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

Syntax:

GML Code Example

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:

GML Code 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.





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