Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I got one problem on my game Rounds when i test on my pc he work good and when i upload to web rounds says NaN i give you some pic from my game
Hmm the links does not seem to work for me.
Its hard to say without seeing your .capx file.
The most i can help you is that NaN = Not A Number
So somewhere in your program it is expecting a number but getting a string or something.
here is capx file solidfiles.com/d/078b442da4
Develop games in your browser. Powerful, performant & highly capable.
When you save something in Webstorage it is always saved as a string, so when you read it from the webstorage you have to convert it to a integer again.
so in your
On start of layout
it should be
System --> Set Lives to int(WebStorage.LocalValue("LSave"))
the int() should do the trick
ok thanks a lot ;)