Hello everyone, I’m trying to create a save-file system. Similar to Roblox games like Block Tales, you can create and load savefiles which contain data such as the player’s last position, their stage, stats, current objective, and such. This is my current idea.
SERVER
- When a player joins, the server checks if they have any save files.
- If so, they will return the save files to the client.
- When a player chooses a save file, it will load the data on the server and sent information to the client to load in, such as the stage, and the stats.
- There will be two games running technically, one on the client and one on the server.
- When the player leaves the game, their save file data is saved and will be given when they rejoin.
CLIENT
- Once the server returns their data, there is a save file screen loaded.
- If they have no save files, then it will just load in empty save files.
- If they select an empty save file, a new save file will be made on the server.
- If they select a used save file, the server will load it.
This is my plan for a save-file type system. If anyone sees any flaws with it or wants to redo the whole thing, please do! I appreciate any help!