Autosave game

Get help using Construct 2

Post » Wed Nov 06, 2013 2:37 pm

Hey, I have strategy building game and now i came to point where I need function that game saves itself what is builded and how much money you have.
So I looked through save game tutorials here, but they dont seeem to work for me. Here's code:

System|on start of layout   system|load game from slot "mysave"
*game code here*
system|every tick           system| save game from to slot "mysave"
B
3
Posts: 2
Reputation: 191

Post » Wed Nov 06, 2013 2:43 pm

you save every tick, saving can (mostly will) take multiple ticks, so the game is never finished saving, since you re-begin to save, I think you should verify that you finished to save before redo it again, and also, what if the user closes the window during a save?
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests