-
saving.
Hi i want to thank all of you at the forum for all your help.
im new to the ini file so im going to begin to implement it in my game. i have it set up so that you choose your world then it takes you to another screen where you choose between 3 stages. when you beat the stages you can just play them instead of playing them in order from 1 to 3. how do i set the ini file to save whether a stage has been betean already or not? and to unlock future levels.
-
I use 0 and 1 values usually.
For example, if something is unlocked, I execute this action:
INI -> Save value - Item -> "Name" -> "0" or "1".
For example, you set a value to 1 when it is unlocked. Then check for that at Start of Frame and take appropriate actions.
-
i dont see save value. im sorry could you be a little more specific?
-
Here´s a little ini example that will help you:
http://www.2shared.com/file/t9S6DZb3/ini_3_objects.html
hope it helped.
Jot