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
14
G
11
Posts: 243
Reputation: 9,432

Post » Sun Nov 13, 2011 4:46 am

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

Post » Sun Nov 13, 2011 5:37 am

Awesome! this is what i need for my game.
B
35
S
9
G
5
Posts: 174
Reputation: 5,916

Post » Sun Nov 13, 2011 1:58 pm

very very useful...tnx a lot tonycrew ^^
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Mon Dec 12, 2011 5:10 pm

Did you ever figure out the snap to grid?
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

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
13
G
10
Posts: 632
Reputation: 12,515

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
14
G
11
Posts: 243
Reputation: 9,432

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
14
G
11
Posts: 243
Reputation: 9,432

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
97
S
22
G
178
Posts: 4,122
Reputation: 104,051

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
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 5 guests