This is really plaguing me...
I am currently not setting any local variables in my game because the dictionary is a global storage location in which I can set and retrieve values from any layout. The information is stored in RAM so it moves pretty fast. I have however been warned, "not to use global variables when I don't need to as a general rule", but no one can really tell me why.
-If I am only using one dictionary,
-I make sure not to use the same key twice,
-the dictionary repository stays relatively small (100kb,)
-I am saving the dictionary to webstorage every 30 seconds or every layout change,
What is danger I should be wary of?
Is there something I am not understanding that will cause the inevitable demise of my game if I keep everything as a Dictionary Keys?