How do I or can I save a Dictionary without anything else ?

Get help using Construct 2

Post » Tue Nov 29, 2016 10:34 pm

Hey guys :D
Well...I just wanna save some plain text like on a notepad but the user should be able to see, add and delete entries.
Kinda like a reminder for things to do but more fency ^^
Now the question(s)..
Do the Dictionary-Object saves locally or is it only while the programm is running ?
If not can I easily make it save ?
Should I use the Local Storage ?
--> I tried but can't figure out how it works to get text, save it always shown(at a list) and that the user can add/edit and delete as many items as he wants.

Or am I thinking in a wrong way ?

Greetz Smexy
Posts: 1
Reputation: 202

Post » Tue Nov 29, 2016 10:43 pm

You can use a Dictionary, or an Array, save it via LocalStorage by converting the Array to text by Array.AsJSON. Load it back via Array.Load.
Posts: 3,842
Reputation: 154,886

Return to How do I....?

Who is online

Users browsing this forum: flemmig and 65 guests