- Home /
How to make Advanced save and Load Files?
I've noticed that some games have really nice additions to their save and load files. Like, Time and Date when you saved the game. The In-Game Time and Date when you saved. The Area you were in when you saved. A popup that says "Yes or No" and asking you if your sure you want to load this save file. The Total Amount of Playtime, ect.
I'm currently working on a Fantasy RPG, and i would like for my load files to have these features. Can someone please help me? I will take any information i can get. Thanks!
Here is a example of what i mean, taken from the game Pokemon Emerald. https://cdn.bulbagarden.net/upload/thumb/3/3f/Save_USUM.png/300px-Save_USUM.png
Although that picture was for saving the game, i would like something like it for loading the game.
What you've described is metadata. It is data you design and store for display.
Two methods prevail. One is to store the metadata in the file, but this assumes you are designing the storage format and method of that file. The drawback is that you must open each file, read the metadata (without reading the entire file) as you fill out a dialog for the user to select a saved game.
The other is to create a small database (sometimes a simple JSON or X$$anonymous$$L file for persistence) which describes the saved games. This is simply moving that metadata into a file of its own in the event you can't control the format of the game data. It suffers from the problem of occasionally getting out of sync with the files on disk when errors occur.
I'm kind of understanding you..I am kind of new to Unity, but i think i know what you meant.
I have made the Save and Load files, but i was just wondering how to put the time and date and stuff on it. How do i do that? Sorry if i'm not understanding...
I think you could find something on this page for that.
https://answers.unity.com/questions/9862/read-time-and-date.html
Answer by DynamiteGG · Jul 19, 2018 at 01:57 AM
I found the answer here, Thank you! https://answers.unity.com/questions/9862/read-time-and-date.html