-
Use the function
stash_load()
with the file name and the default values to start the system:global.data = stash_load("data.sav", { life : 80, gold : 450, items : [ "Sword", "Shield", "Chestplate" ] })
-
Save the file with
stash_save()
when desired – on game end event or at the press of a button:stash_save("data.sav", global.data);
-
If you want to reload the file, just use
stash_load()
again:global.data = stash_load("data.sav");
-
Notifications
You must be signed in to change notification settings - Fork 0
Kruger0/Stash
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An ARCFOUR encrypted save/load system for GameMaker Studio 2
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published