Hello!
What are the best ways to save player progress in a browser game?
Hello!
What are the best ways to save player progress in a browser game?
I use ini files to store progress on users machine.
I think we can also use the array. for online saves on the server it is more complicated, surely there would be a need for registration by the player
MTCMusic, when you say it is saved on user's machine, do you mean using cookies or do you really allow player to save on their machine ? If so, how do you do it ? Is it possible with Array ?
Let's admit I want to allow people to save/load files from servers, is it possible ?
By granting access to the game through account registration player progress can be saved in a database. Use the get object in fusion to fetch a progress string to parse when the player is logged in to the website.
Ok, but let's admit I don't want to use a database, and just want to load and save a ".mfs" file storing my array. Is that possible ?
Creating a database sounds heavy for what I mean to do.
Hmm, perhaps you could store an array on your server in a php or javascript file in which you store progress. Paring the data with players would still require a registration system since there is no safe way to guarantee identity recognition through cookies/Ip over time as far as I know.