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
40
S
12
G
7
Posts: 603
Reputation: 7,646

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
13
G
11
Posts: 900
Reputation: 11,783

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
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

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
56
S
15
G
10
Posts: 910
Reputation: 11,942

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
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

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
56
S
15
G
10
Posts: 910
Reputation: 11,942

Next

Return to How do I....?

Who is online

Users browsing this forum: Braus, Draconinho, Magistross, nedzad, R0J0hound and 29 guests