How to save with the Global Dictionary

Just a small tutorial explaining what a dictionary is and how we can use the globalDict to save and load game properties without having to decipher any text.


Good job, thanks for the tutorial.

Awesome, thanks!

good tutorial, i want to suggest one thing, the logic.globalDict can be set inside a variable, this way you can write down lines of code faster. so instead of:


#you can do:

GD = bge.logic.globalDict

#then you use 


Thanks :D, glad you found it useful!

Thanks! Yes I did do this for the loading part to make it a bit simpler, but for the saving section I didn’t want to confuse too many people so I tried to keep it as basic as possible.
Thanks for the feedback :slight_smile: