Game Saving

For questions about using Classic.

Post » Sat Aug 02, 2008 8:42 pm

I'm just wondering if there is anyway to make my game save private varibles and load it up next time I launch the game?
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Sat Aug 02, 2008 11:39 pm

You could use INI files to do this..err..I don't know/remember the exact actions right now, but its under the System object.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Sun Aug 03, 2008 12:09 am

Thanks but I still don't understand how to do it. Could someone please show how to do it.
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Sun Aug 03, 2008 5:58 am

If you want to save and load the entire state of the game, you can use the save/load to disk action in the System object.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Sun Aug 03, 2008 11:58 am

Ok I've done that but it doesn't seem to work?
http://deta12.com/downloads/construct/Test2.cap
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Sun Aug 03, 2008 12:08 pm

[quote="Casho":2fdb5ybz]Ok I've done that but it doesn't seem to work?
http://deta12.com/downloads/construct/Test2.cap[/quote:2fdb5ybz]
Copy and paste object MouseKeyboard from layout Start Screen to Test Level or select Global in MouseKeyboard proporties.
B
6
S
3
G
7
Posts: 138
Reputation: 3,547

Post » Sun Aug 03, 2008 12:33 pm

How do I make it Global?
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Sun Aug 03, 2008 12:36 pm

[quote="Casho":3fdg46yx]How do I make it Global?[/quote:3fdg46yx]
In Proporties in Common check Global:
B
6
S
3
G
7
Posts: 138
Reputation: 3,547

Post » Sun Aug 03, 2008 12:39 pm

Yes I just found it out. But it still doesn't work properly
http://deta12.com/downloads/construct/Test2.cap
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Mon Aug 04, 2008 10:04 am

Can anyone help me?
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests