Saving data and the exe exporter

Get help using Construct 2

Post » Wed Sep 12, 2012 12:39 am

Hey fellas,

I'm in need of a very simple saving system for my project. The thing is that its based around awesomium, and not web/browser at all.

Can i still use WebStorage? Or do i need a plugin? Is there a way to save data into an XML file locally? Or another type of file which is harder to exploit/edit?

I really just need to save a few values. Lets say my game has 5 chapters - all i need then is a local file with a true/false value for each entry (chapter).

Any idea where to start? :)
B
34
S
11
G
9
Posts: 189
Reputation: 8,595

Post » Wed Sep 12, 2012 9:43 pm

Bump! No one got any idea of where to look? :/
B
34
S
11
G
9
Posts: 189
Reputation: 8,595

Post » Wed Sep 12, 2012 9:44 pm

Awesomium is technically still a browser so WebStorage should work just fine.

Edit: For future reference, it's generally good form to wait at least 24 hours before bumping a thread.inkBot2012-09-12 21:45:43
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Wed Sep 12, 2012 9:47 pm

You can still use WebStorage for a desktop game. Sounds a bit counter-intuitive, but all Awesomium does is basically launch a new self-contained Chrome, meaning it still has the bells and whistles of a browser (probably not all of them, actually, but definitely WebStorage).

There was a glitch when it was first implemented that wiped all the data you stored when you closed the game, but I'm preeetty sure that was fixed. Someone correct me if I'm feeding this poor man lies!

EDIT: Ninja'd! SullyTheStrange2012-09-12 21:47:41
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Wed Sep 12, 2012 10:22 pm

Heh, yeah i was a few hours short of 24 hours, but the topic was already heading for page 4 so..

Anyways, thanks alot guys, i'll stick with that, and hopefully it will work out :)
B
34
S
11
G
9
Posts: 189
Reputation: 8,595

Post » Thu Sep 13, 2012 12:48 am

WebStorage works in Awesomium last I tried. Did you try it? It should work fine.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu Sep 13, 2012 4:36 pm

Havent bumped into any issues with it yet :)
B
34
S
11
G
9
Posts: 189
Reputation: 8,595


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Ethan, makkancs, Marxally, Naightwolf, pierre244, Ryogo and 18 guests