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
Develop games in your browser. Powerful, performant & highly capable.
Yeah, that should work. I do the same in my games.