Morning all guys!
Sorry to bother, but has been 3 days I'm dealing with a problem I cannot figure out.
Here what I'm doing: a slot-machine with a splash-intro. The slot-machine is ok.. There is a variable (money) connected to a local webstorage key (moneysave) who saves everything in the cookies. The problem is in the splash.
There's a text box, where I show the string "WebStorage.LocalValue("moneysave") so it shows the amount of chips I've.
THE PROBLEM IS ON THE CREATION OF A BUTTON WHO'S ADDING money to that value.
I tried several ways to do it, but some are adding strange values, other not working at all. Obviously the new value has to be saved in the same local webstorage.
Do you have any suggestion?
I'm sure it's simple, but I cannot figure out.
Cannot sleep. Lol.. Thank guys!