I have been poking around and playing with some random ideas on how to properly keep track of levels.
In a game with 80 levels, having 80 variables would not be ideal.
This leads me to a global bool array to keep track of all 80 “levels”.
The question is how to properly keep track of which level is complete and which is not. My game uses the director class, and I have divided it into 8 scenes, each scene with 10 levels.
I need to basically keep track of which level I am on, also which levels have been completed, and know when it is time to switch scenes or just rearrange and reset all of the game elements.
So I am just curious as to what anyone here has done to keep track, and maybe this could spark a little discussion on which ones are more efficient and why.
Thanks in advance!
[import]uid: 9968 topic_id: 8090 reply_id: 308090[/import]