Save Game

Get help using Construct 2

Post » Mon Feb 25, 2013 6:05 pm

I have a game where you use variables and unlockable levels, upload my game in scirra and it works, but when I go and I go back to my game, the game is not saved. Because not saved? the iphone would be the same?
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Mon Feb 25, 2013 8:20 pm

can someone answer me? give one euro for it
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Mon Feb 25, 2013 9:26 pm

Did you use WebStorage? If not, you should use WebStorage. If so, did you use local or session storage? If session, you should use local storage.

If you use CocoonJS to publish to iPhone, WebStorage works there too. It'll also work if you use the native browser, but I imagine performance would be terrible so you should use CocoonJS anyway.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Mon Feb 25, 2013 10:51 pm

HOLY sh*t ONE EURO

As GeometriX said, you have to use WebStorage. It's fairly simple to use, too.
B
106
S
35
G
37
Posts: 796
Reputation: 25,211

Post » Mon Feb 25, 2013 11:57 pm

@Ashley promised one save state system, but We have no idea when it will come out, the TO DO list is large.
ImageImageImageImageImageImage
B
93
S
19
G
12
Posts: 1,209
Reputation: 18,357

Post » Tue Feb 26, 2013 8:35 am

I'm doing a big game and not want to do more missions without knowing if I can save game or not.

do I need both on iphone as web webstorage?

statham2013-02-26 08:37:18
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Tue Feb 26, 2013 11:51 pm

If you're talking about RPG games, with complex inventories, and you don't know how to use webstorage or is beginner, I advise you to avoid C2 or jump in the manuals and learn it from the scratch.

ImageImageImageImageImageImage
B
93
S
19
G
12
Posts: 1,209
Reputation: 18,357

Post » Wed Feb 27, 2013 12:36 am

Webstorage is fine for saving online, offline on mobile and everywhere.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783


Return to How do I....?

Who is online

Users browsing this forum: WhosWho and 18 guests