How do I webstorage

Get help using Construct 2

Post » Fri Dec 19, 2014 7:34 pm

I have two levels - at the completed level 1 prior to going to level two I'm setting a local value in webstorage "LastLevel" = "Level1"

I'm carrying that value forward and on game over screen it says try again button I have that button set to go to layout by name and have in there webstorage.localvalue("LastLevel") should that work? and equate to Level1


button does nothing
Need Sprites For Your Next Project?
100% Vector Animated Sprites
B
8
S
2
Posts: 170
Reputation: 1,086

Post » Fri Dec 19, 2014 10:43 pm

Yeah, that should work. I do the same in my games.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542


Return to How do I....?

Who is online

Users browsing this forum: tarek2, Twili and 1 guest