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,442

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,033

Post » Sun Nov 13, 2011 5:37 am

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

Post » Sun Nov 13, 2011 1:58 pm

very very useful...tnx a lot tonycrew ^^
B
162
S
39
G
12
Posts: 229
Reputation: 17,749

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: 7,964

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

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,442

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,442

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
104
S
25
G
212
Posts: 4,268
Reputation: 121,543

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
262
S
93
G
53
Posts: 7,139
Reputation: 66,047

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 1 guest