Functions | |
BOOLEAN | data.save (STRING data, STRING gametittle, STRING gameid, STRING subtittle, STRING description, NUMBER mode) |
Allows to save the game. More... | |
BOOLEAN | data.save (STRING data, STRING gametittle, STRING gameid, STRING subtittle, STRING description, NUMBER mode, STRING resources) |
Allows to save the game. More... | |
STRING | data.load (STRING gameid, NUMBER mode) |
Allows to load a savegame. More... | |
STRING | data.delete (STRING gameid) |
Allows to delete savedata. More... | |
Savegames.
BOOLEAN data.save | ( | STRING | data, |
STRING | gametittle, | ||
STRING | gameid, | ||
STRING | subtittle, | ||
STRING | description, | ||
NUMBER | mode | ||
) |
Allows to save the game.
data | Data to save (up to 256 chars). |
gametittle | Title which is shown on the VSH or the save/load dialog (up to 128 chars). |
gameid | Our game ID, specially for distinguish our savedatas (up to 13 chars). |
subtittle | Savedata subtitle (up to 128 chars). |
description | Details or description of the savedata (up to 1024 chars). |
mode | Mode of saving data:
|
BOOLEAN data.save | ( | STRING | data, |
STRING | gametittle, | ||
STRING | gameid, | ||
STRING | subtittle, | ||
STRING | description, | ||
NUMBER | mode, | ||
STRING | resources | ||
) |
Allows to save the game.
data | Data to save (up to 256 chars). |
gametittle | Title which is shown on the VSH or the save/load dialog (up to 128 chars). |
gameid | Our game ID, specially for distinguish our savedatas (up to 13 chars). |
subtittle | Savedata subtitle (up to 128 chars). |
description | Details or description of the savedata (up to 1024 chars). |
mode | Mode of saving data:
|
resources | Path which contains the resources which will be saved or shown in our savedata. The resources you can customize are these, and must match the name:
|
STRING data.load | ( | STRING | gameid, |
NUMBER | mode | ||
) |
Allows to load a savegame.
gameid | Must be the same ID used in the data.save() function. |
mode | Load mode:
|
STRING data.delete | ( | STRING | gameid | ) |
Allows to delete savedata.
gameid | Must be the same ID used in the data.save() function. |