How to load .ini file

For questions about using Classic.

Post » Sun Jul 22, 2012 3:06 pm

Hi,

Im have a question:
I'm using the component "ini" to save and load the game. I've managed to save a variable called "level" with the value "1" the problem is not how to do this:
When I press the button "Continue Game" and the variable "level" (in the ini file) is "2" going to the layout "Level 2".

Thank you.
B
3
Posts: 36
Reputation: 347

Post » Thu Jul 26, 2012 7:09 am

Should be able to go to layout and then just say the value like ini.itemvalue("group", "current_level").
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests