How to make it so when game reaches new high score, an actor/image appears?
justinodunn
Member, PRO Posts: 226
in Tech Support
how do i make it so at the end game screen after a game, when the user receives a new high score, that an image will appear next to the score? but i only want the image to appear when the user gets a new high score.. thanks!
Comments
When score > high score change attribute self.color.alpha to 1
Otherwise change self.color.alpha to 0
Need Help? Email Me | Templates | Full Game Source Code
Thanks that somehow works, but my high score system works like this. if score is higher or equal to highscore, then change highscore to score. and the one you gave me where when gamescore is bigger than highscore won't fit in. any ideas what to do?