Loads a saved game from a file.


GML Code Example


Argument Description
filename The name of the file to load.

Returns: N/A


With this function you can load a game that has been saved previously (using game_save).


GML Code Example

if keyboard_check_pressed(ord("L"))
    if global.Save game_load("Save.dat");

The above code will load a previously saved game if the global variable is true when the player presses the "L" key.

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