How do I use webstorage on level select

Get help using Construct 2

Post » Mon Oct 26, 2015 10:05 am

As explained in this tutorial:
how to use the localstorage plugin:

In your on start of layout add an actiont to check if local storage item exists

add a new event to your event sheet:

local storage on item exist:
> array load : localstorage.itemvalue

As far as I know you don't need a step inbetween..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Oct 26, 2015 10:46 am

ok ok ok
now i m getting this point
global variable and array has same method to save
in array
local storage on item exist:
> array load : localstorage.itemvalue
this is a little change
otherwise everything is same
Image
B
68
S
40
G
48
Posts: 680
Reputation: 34,076

Previous

Return to How do I....?

Who is online

Users browsing this forum: jezjones24 and 10 guests