Zoophish's Recent Forum Activity

  • Sorry if I misunderstood, but what was different in yours to mine?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry if I misunderstood, but what was different in yours to mine?

  • Hello,

    I'm using Construct 2 to make an app for android and I would like to save some variables, 'Highscore' and 'Coins'. From what I can see, I'm using the 'Local Storage' object correctly in that at the beginning, if the keys don't exist, it creates them etc. When the game is running, on the gameover screen, I have a text object which should display the value of the key 'Highscore' in local storage, however, it either says 'NaN' or the text completely disappears itself! I've been trying to find a work around for days now so I'm at my last resort here. My construct 2 version is r204.2.

    Here is my code. Bear in mind that I called coins 'tutorial' and highscore 'serial'. Don't ask why .

    Thanks in advanced!

Zoophish's avatar

Zoophish

Member since 16 Jun, 2015

None one is following Zoophish yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies