i was wondering how to save game data externally, e.g. saving player highscores alongside the player’s ID, and having other instances of the project sync with the database to fetch those scores. I assumes this would be possible with jsonbin or a google sheets plus app script, but I don’t feel like messing around with all that. is there an easier way?
localStorage. Look it up online.
1 Like
You could get away with cookies for smaller data like usernames and stuff, but it’s mostly this
sorry, i should have explained better. I mean like having a leaderboard, people submit scores, and other people, to whom i’ve given the game file, can see those scores and submit their own.
Then you’d have to setup a server if you want it to sync over the cloud. It may cost money, and it may take some time to set it up and prevent attacks, but it’s possible. Google MySQL to get you started a bit.
1 Like