I'm doing a dekstop game in which savestates are saved to a json-file. Now i'm wondering, how would i access certain data from this file, like the level of a character, which i saved in a variable? The goal is, to show that data in the loading and saving screen after the player saved his game.
Thanks in advance!
Develop games in your browser. Powerful, performant & highly capable.
I sort of had/have a similar problem and ended up just asking the player to paste the json into a text box to load it. If someone knows a better way I'd also be happy to know.