Problem with High Score
Hi guys,i have a problem with the score system.
I explain better
I watched this tutorial
![](https://img.youtube.com/vi/fCYFxoD8jQI/0.jpg)
When i restart my game in the title menu there is the high score (ok),but at the beginning of the game(level 1) the score ,(that should be 0), is the high score,(and the game start counting the points of the new game from the high score).
Any suggests?
Thank in advance
I explain better
I watched this tutorial
![](https://img.youtube.com/vi/fCYFxoD8jQI/0.jpg)
When i restart my game in the title menu there is the high score (ok),but at the beginning of the game(level 1) the score ,(that should be 0), is the high score,(and the game start counting the points of the new game from the high score).
Any suggests?
Thank in advance
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
1. in the first scene i load the high score attribuite ( works fine because there is the previous high score)
2 in level 1 i use display text. Game.score (here is the problem ,the score is the previous high score and not 0)
3 when the game ends (last scene) in a timer i set : if Game.score is > than game.highscore
Change attribute game.highscore to game.score and save highscore attribute
Thank
To post a screenshot, upload the file to a hosting service such as ImageShack and then paste the URL as follows:
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Here are the screen shots
Actor in the gameover scene
Level 1
start menu
intro
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Now it works!