Hi all,
I am developing a game where I would like there to be a way of loading data from the last time a user logged on to the game. How can this be done in PlayCanvas?
Hi all,
I am developing a game where I would like there to be a way of loading data from the last time a user logged on to the game. How can this be done in PlayCanvas?
If you only want store data on the local computer/device, you can use local storage: https://www.w3schools.com/html/html5_webstorage.asp
If you want something where they can login anywhere, you will have to have a separate server or service that stores that data, accounts etc. Eg https://playfab.com
The idea was to store data on the local device, the link is really useful. Thanks.
I was also thinking of converting the game to native using gonative.io for mobile. Will the same thing work once the game is converted to native?
You would have to check with the documentation of gonative.io. It may be different on how it stores data.
I will look into that. Meanwhile, in case it does not work, please let me know how to add user accounts using PlayFab.
Wait, what doesn’t work?
Thank you for the help