- Home /
Best way to save high scores in an arcade style web game?
Hi,
I'm making a pacman style game for the web in which I'd like to have a high scores list. I was wondering what might be the best way to go about saving this list. I'm also hoping to have it so there is only one 'copy' of the list so that players will be able to compete against each other for the highest score. Currently, I have the game running out of dropbox. Would it be possible to keep the save file in there as well? Does player prefs work with web builds? Or would I even want to use it if it does? I checked out the live training session on persistent game data but Mr Geig mentions that the methods he goes over don't work with web builds. Unfortunately, I don't know much about server side data bases, but am willing to learn. Anyway, any information or tips would be greatly appreciated.
Thanks!
Answer by Bunny83 · May 15, 2015 at 07:28 PM
You can't use dropbox in that case. You need a real webserver where you can store that data.
On the wiki there is already all you need for Server Side Highscores. You just need a webspace that of course supports PHP and provides you a mysql database.
Dropbox doesn't provide any serverside scripting at all. It's just pure memory storage. Only the owner of the dropbox can commit changes to the files hosted.
Your answer
Follow this Question
Related Questions
How to save game in a dropbox hosted unity web app? 1 Answer
How to save Keyboard Input in a variable? 1 Answer
Save decimals in PlayerPrefs c# 2 Answers
Save game in iOS background 0 Answers