Webstorage (Save Game)

Show us your completed creations made in Construct 2

Post » Sun Nov 13, 2011 2:30 am

This is a CapX for those who want to save variables, it will just show you a way of doing it using the Web Storage plugin.
Aimed at new comers to C2
Tested in Chrome and works fine.
There's probably a better usage of this plugin, but i couldn't find alot of info about it.

Save Game Test CapX


tonycrew2011-11-13 02:32:42
B
40
S
15
G
11
Posts: 243
Reputation: 9,502

Post » Sun Nov 13, 2011 4:46 am

very helpful for me.
Thank you tonycrew
B
22
S
5
G
5
Posts: 163
Reputation: 5,058

Post » Sun Nov 13, 2011 5:37 am

Awesome! this is what i need for my game.
B
42
S
11
G
5
Posts: 174
Reputation: 6,340

Post » Sun Nov 13, 2011 1:58 pm

very very useful...tnx a lot tonycrew ^^
B
163
S
39
G
13
Posts: 234
Reputation: 18,312

Post » Mon Dec 12, 2011 5:10 pm

Did you ever figure out the snap to grid?
B
30
S
13
G
7
Posts: 740
Reputation: 8,044

Post » Mon Dec 12, 2011 5:39 pm

So can it save the state of the entire game like variable values, object locations etc ?
B
58
S
15
G
11
Posts: 632
Reputation: 13,325

Post » Mon Dec 12, 2011 11:07 pm

[QUOTE=smitchell] Did you ever figure out the snap to grid?[/QUOTE]


Sorry no, i went on to other things...
B
40
S
15
G
11
Posts: 243
Reputation: 9,502

Post » Mon Dec 12, 2011 11:08 pm

[QUOTE=Kiyoshi] So can it save the state of the entire game like variable values, object locations etc ?[/QUOTE]

It can only save variables, but can save level numbers.
B
40
S
15
G
11
Posts: 243
Reputation: 9,502

Post » Tue Dec 13, 2011 12:57 am

CSV plugin can transfer a 2d table into a string, then you can store the string by webstorage.

BTW, Does there have "Hash" plugin to save value by a string key?
B
108
S
26
G
272
Posts: 4,473
Reputation: 152,281

Post » Tue Dec 13, 2011 1:06 am

@rexrainbow : That's pretty much the job of the webstorage plugin.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
292
S
115
G
96
Posts: 7,297
Reputation: 70,799

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 7 guests