» Sun Feb 02, 2014 2:25 pm
Hi all,
Let me be clear on this one. I use my global variables as a kind of gamesettings when a game start. For example the time to spawn a object.
This is different in every level with the same layout.
One layout which can be seen as the game frame. In that layout i check which level is selected, and than i insert the information needed for that level. So again for example the spawn speed.
This isn't hard to reach, what i was aiming for was the best way to do this.
I learn everyday with CS2 and if i check the difference between my start period and now i already know alot more to save events etc.
So sometimes i'm just not sure what the best way is to do something.
Though all methodes above are pretty small and would work great.
Thanks all!