Save a variable so it keeps its value even on exit

Get help using Construct 2

Post » Sat May 18, 2013 3:04 pm

[QUOTE=OrangeFlash81] [QUOTE=Ashley] WebStorage works offline, works on all platforms, and is permanent. It is *not* saved in the browser cache; it's permanent and immune to the user clearing their cache. (I don't know why everyone assumes it saves to the cache!)

There's also good support for https://www.scirra.com/tutorials/526/how-to-make-savegames and the node-webkit plugin allows writing to disk when a desktop application.[/QUOTE]

Thanks! Problem, though; I can't find the WebStorage object anywhere. I am on Construct 2 Free Edition Release 119. I am looking to buy Standard.

P.S. With Standard, can I sell games that I create? Or is that only for Business releases?[/QUOTE]

Right-click on your layout and add object, then select web storage. Now it will be available throughout your project. And yes, you can sell games with a standard license. If you exceed a certain threshold of revenue, you need to upgrade to business.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Sat May 18, 2013 6:27 pm

Thanks everybody!
B
8
S
2
G
2
Posts: 49
Reputation: 1,894

Previous

Return to How do I....?

Who is online

Users browsing this forum: LaDestitute, Lancifer and 48 guests