Best Score equals Zero sometimes....

Hey Salad Heads,

so I have my game set up to save lower scores as my best score ( Game.Score < Game.BestScore then Change Att. Game.BestScore to Game.Score)

I have my Game.Best attribute default set to 5000.

So it saves my best low score sometimes but other times when I get to the score/Game Over Page, My best score is 0.... and 0 is impossible to get in my game!

This is the last thing I have to figure out before I can Upload my game and its killing me!!!

I don't understand why it works sometimes and other times it doesn't????

I should mention that this happens in the viewer and the adhoc.

It seems to happen like this... I get a best score. I beat that best score. I play again and don't beat the best score but now the best score displays 0!

Help Please!

Thanks!

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    There could be several reasons for this, but it's a coding error on your part. Post a screenshot of the relevant rules or better yet a link to download your project and we'll see what's the matter.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.