I'm currently trying to set up a saving/loading system that uses a Dictionary to hold values.
Basically, it saves information like the following:
savefile = { "gamescore" : gamescore, "highscore": highscore }
gamescore and highscore are both variables in my GlobalData script that has been autoloaded..
So when the time comes to load the information, I wanted to use:
for i in savefile.get_keys(): GlobalData.set(i, savefile[i])
When I print both i and savefile[i], the values that they return are correct.
Perhaps Set() is the wrong thing to use?
I've been trying for a while now, and I'm at a complete loss.