Trouble with high score?

Get help using Construct 2

Post » Tue Jul 08, 2014 6:53 pm

Message: amg314 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I just finished this tutorial

I did everything in it just like in the video, but have been having issues. At first, all I could get the score to show was NaN. I then wrapped the line under Web Storage in int() so it looks like this: (WebStorage.LocalValue(HighScore)).

However, it now only shows a zero and it never changes. Can anyone give me any hints here?
Posts: 17
Reputation: 316

Post » Tue Jul 08, 2014 7:17 pm

Could it have something to do with the fact that my project resets global variables to default whenever I click my "Try Again" button after my character dies?
Posts: 17
Reputation: 316

Post » Sat Jul 26, 2014 5:29 pm

Yes, you'll need to remove the "reset global variables". That's what worked for me.
Posts: 4
Reputation: 229

Post » Mon Dec 29, 2014 11:12 pm

Hi I have the same problem and I don't have any global var to rest and still the high score shows 0's
Posts: 20
Reputation: 498

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, kellehk, R0J0hound, tarek2 and 34 guests