How do I save load from game menu?

Get help using Construct 2

Post » Tue Aug 22, 2017 5:31 pm

in my game i have a start title menu where the player can start from zero "level1" and "continue" from the last saved level.
im lost with the local storage, i have 20 levels at the moment.

in my game everytime the player reach the exit door, the level+life has to be saved, if the player close the app and then restart later, when he click "continue" the game has to restart from the last saved level.

question is: where i have to add the localstorage functions for saving/loading, in the game event sheet, or in the menu event sheet??

thanks for your help
B
37
S
15
G
7
Posts: 1,679
Reputation: 9,610

Post » Tue Aug 22, 2017 9:11 pm

You can put it any event sheet, as long as it's being seen by the game, so 'included' in the main event sheet assigned to the layout.
B
46
S
16
G
73
Posts: 2,084
Reputation: 43,677

Post » Wed Aug 23, 2017 6:16 pm

use System > load

for checkpoints use Save
Howdy, I'm HenryPK! I love helping people and making games... Hope we can be friends. (Also check my game: Blue)
B
10
S
2
G
1
Posts: 60
Reputation: 1,233


Return to How do I....?

Who is online

Users browsing this forum: Fradno, odiusfly and 21 guests