LocalStorage.Set("Year", Year)
I gave you an example already.
No, you are retrieving the value that was saved, but you need to save the value for next time.
Right now you are asking if the value exists, it doesn't, so you setting your Global to a default.
Develop games in your browser. Powerful, performant & highly capable.
Where are you saving the data?
You can do this with Paster.
—
I just made this yesterday, and the plugin was updated in December. I don't see how this is outdated.
viewtopic.php?f=153&t=94755
http://blackhornettechnologies.com/Cons ... erExample/
Nobody will be able to help by just looking at your game, we'd need to see your code.
What you've described should be no different than what was done with the Chosen=1 in event 8 of the Example file. You would just make sure you choose the number you care about, then only those will be picked.
You can use RexRainbow's Nickname plugin to help.
http://www.blackhornettechnologies.com/ ... e_BHT.capx
http://c2rexplugins.weebly.com/rex_nickname.html
Thought I'd give this a try. Uses LiteTween: viewtopic.php?t=70700&start=0
http://www.blackhornettechnologies.com/ ... ample.capx
P to pickup, Space to throw.
No, you pass the ID into the function, pick it and do your actions.
Member since 28 May, 2012