Setting timer as high score [SOLVED}

Genadiy

  • Posts: 12
Hello guys,  I'm going to jump straight into to this. So basically I want to set up a timer in my scenes (adding a point every second). I want the current time to save as a high score but if the current high score gets beat I want to save that current score as the new high score.(hopefully that's not confusing) I have 5 scenes and I want the high score to stay the same for all of them until that new score beats the current high score.


Hear are some pics of my coding and I know I'm defiantly way off. So basically I got my timer to do what I wanted it to do and that is for it to go up by one every second and the timer resets after every scene, I'm just having trouble saving my high score and replacing the current high score.

« Last Edit: February 26, 2014, 01:57:17 pm by Genadiy »

bonechill

  • *
  • Posts: 270
You need a load block after the save block
Play Gold Hunter on Kongregate, Newgrounds, or Stencyl Arcade

Genadiy

  • Posts: 12
I totally forgot about the load block but I just added one and I am still stuck with the same problem, This is what I put down

Genadiy

  • Posts: 12
Alright everyone after playing around for a little while I finally fixed it so hears what I did for those of you who may also be stumped or want to use this method of scoring.