Hello,
I was wondering if there is a maximum amount of global variables that should be included in a HTML5 game, or if the amount of these variables doesnt matter?
My main question is because i am building a tower defence game that utilises random event generation from a list, with each event held in a group. plus a variety of global variables monitoring score, resources and also how you deal with different alien races through a text adventure component of the game.
I already have a lot of global variables and am unsure if to many could be a problem or not.
thanks for any info.