Hello i am trying to make Rounds when player click play game add 1 to rounds and save it, problem is when i try it on my pc he work perfect and when i upload it in Scirra he say Rounds: NaN what can do for fix this?
NaN stands for 'Not a Number'
If it's something that works on preview, but breaks on export it could be a bug.
But it sounds like it could be fixed anyway..
I don't know your context exactly but I think rounds is being set to a string from however your saving it.
Can you convert it to an Integer when the value is retrieved? using Int(value)
but why when i test in my PC work perfect and when upload dont work?
Not a number , seems like you are trying to set an int variable to a string , Try to convert the string to an int before setting it to a variable
Whiteclaws where to put Int(Text.Text) ?
Develop games in your browser. Powerful, performant & highly capable.
Could I get a snappy or your capx ?
That would help us a lot to find the reason of the problem
i find when to use it but when i upload again in Scirra says again NaN