I've got a issue with making a 'New Highscore' image appear when the highscore is beaten in my game.
I've got a sprite outside the layout and when a highscore is beaten, i've set the sprite position to appear on screen but It's very tempermental and seem to only work when it feels like it. On some occasions it will work fine and appear when the score is beaten but then there are times where even if the score is beaten, the sprite will not appear.
What i've done is on the Game Over event sheet is the following -
Condition
System(Every Tick)
System(TotalDistance > WebStorage.LocalValue("GameHighscore")
Action
Sprite (Set Position to (321,102))
I've provided a capx file and that quickly made so it makes the 2mb limit.
I'm not sure what the issue is and would appriciate any help on this.