-
Unlocking levels?
For instance, if a player finished the game and I wanted to give them access to a new area. Or if a player beats one area and I want to unlock a new one for them.
All the levels would be separate frames. How can you code it so that the game knows an area (or a frame) has been unlocked and adds it to say a level select list?
I'm having trouble understanding how it works, the concept of carrying over data from one frame to another.
-
Re: Unlocking levels?
Global Values will work.
Marv
-
Re: Unlocking levels?
You can also use the INI obejct to save whether a level has been reached/completed/collectables info/ect.
-
Re: Unlocking levels?
I would like to use .ini files for this. But if I used an .ini file to save level data though, wouldn't that make 'cheating' easier?
-
Re: Unlocking levels?
Well you can always use INI++ 1.0 (not 1.5) and use either the compression option or the encryption option. ;)
-
Re: Unlocking levels?
Ahh I see, I didn't know they could be encrypted. Thanks a lot for the info, much appreciated.