Howdy
First time posting here, I came across construct over at steam and gave it a go and so far its going ok.
I have spent a lot of time reading this forum and thanks to some of you guys you have fixed issues for me without even knowing it.
So on to the problem. by the way I haven't programmed anything in my life.
I have a game where the player can go back and forth between a layout, I have managed to do this and set it up with web storage so it saves your location so when you teleport back your in the same place.
(this will also act as a save point)
But I am having trouble with one aspect.
In the game there are lamps on the wall you can light and that's fine I can happily turn them off and on but I want to have it so if you light one and then go to the other layout and come back it remembers that it was a light.
I have been trying to do this with a global vars I have been setting it so if you press it, it sets 1 to a var and that makes it play the on animation and when you press it again it turns it off subtracting the var
I have then set this var to web storage on the teleport between layouts so it remembers the var but every time I come back the light is always off.
Im not sure what else to try.
Any help would be great
dropbox.com/s/p2cayngv5ojvn5i/ideatest.capx