So, Im pretty much done with my first (android)game ever, the only thing missing is highscore.
I started on that part back on friday, but couldnt make it work, so I left it for saturday and after another failed attempt, I told myself that I'd fix it today but Im still stuck after some hours of messing around trying to fix it :(
The problem is that the highscore either stays at 0 or says NaN, and I cant figure out why. Ive been searching for tutorials, but pretty much none of them are based on how to store highscore locally on the device. I found a video (https://www.scirra.com/tutorials/448/arcade-style-high-score) though and Ive done the steps over and over but it simply does not work and its driving me nuts!
<img src="http://i40.tinypic.com/29y4kk0.jpg" border="0" />
Any idea of where Ive done wrong? If the screenshot is not enough, I can provide .capx file too..
Thanks in advance.