How to create save system for desktop game?

Get help using Construct 2

Post » Sun Jan 20, 2013 2:26 am

I'm making a platformer, that is meant for
desktop. I have come to the part where i need to know,
how do i make a game saving system for desktop game?
Please help me!
B
7
S
1
Posts: 10
Reputation: 745

Post » Sun Jan 20, 2013 3:09 am

B
46
S
14
G
7
Posts: 603
Reputation: 8,106

Post » Sun Jan 20, 2013 11:19 am

I need it to be offline.
SOMEONE PLEASE HELP!!!
B
7
S
1
Posts: 10
Reputation: 745

Post » Sun Jan 20, 2013 1:51 pm

WebStorage is offline.
Moderator
B
72
S
14
G
11
Posts: 900
Reputation: 11,920

Post » Sun Jan 20, 2013 5:33 pm

Is it usable on desktop stand alone game? You know, with the exe file.
B
7
S
1
Posts: 10
Reputation: 745

Post » Sun Jan 20, 2013 5:37 pm

Yeah , Awesomium is Just Offline Chrome ...
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Jan 20, 2013 5:49 pm

I've been playing around with this fairly extensively and, indeed, WebStorage is the way to go. It even works with CocoonJS - after rebooting the phone, clearing web cache, redownloading the application - whatever you want, the data is still there.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Sun Jan 20, 2013 5:58 pm

Wait, so can awesomium create exe apps? :-/
B
7
S
1
Posts: 10
Reputation: 745

Post » Sun Jan 20, 2013 6:18 pm

Awesomium support has been dropped in favour of Node-Webkit.
Node-Webkit allows to create executable for windows, mac and even Linux (experimental) and can be tried in r116 and requires a Construct 2 license.

And webstorage does work in Node-webkit the same way it does in browsers and apparently cocoonJS.Kyatric2013-01-20 18:21:22
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,287

Post » Sun Jan 20, 2013 8:51 pm

@Kyatric, do you know where exactly Node-webkit (and CocoonJS, for that matter) stores its WebStorage data? It's not in the exe's folder, that's for sure.

EDIT: Or, wait, I think I found it: OS:\Users\"Username"\AppData\Local\"AppName"\Local StorageGeometriX2013-01-20 20:55:27
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Next

Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 7 guests