Id like to make an ability to have 2 save slots wich store money and what items you have aswell name said save slot. And im in need of help
use local web storage in javascript, its just that easy!
Great suggestion @CoderKidYT!
@Tsake, hereâs a link to a tutorial for localStorage
, a basic system for storing information between sessions on websites.
https://www.w3schools.com/html/html5_webstorage.asp
Youâll be able to store information by using code similar to this.
`localStorage.thingIWantToStore = âValue of thingâ.
There are a few âgotchasâ so have a look through the tutorial, and comment here with any questions on how it might apply in the Editor.
If I am able to today, Iâll try to make an example with save slots, but it will be super basic!
I made an example with your specifications.
However; the inventory wonât be able to load until the alpha editor receives the project.getObject() function (the inventory is saving though).
Save Data example.wick (7.9 KB)