How do I save a low score attribute?!

johnjanowskibsc

  • Posts: 90
I'm sure the answer is there poking my in the face but I am trying to get my game to store the lowest score.

Its easy to store a high score as a high score will overwrite a previous high score.

The trouble I have is at the end of the game I am comparing the current score to the lowest score. However at the start of the game the lowest score is always 0 so my current score will never overwrite this. Does this make sense? I have attached a screenshot of code that doesn't seem to work?!

JeffreyDriver

  • *
  • Posts: 2161
If low score equals zero when the player completes the game set the low score to shots taken.

otherwise set shots taken to the low score.
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk