How to make it so when game reaches new high score, an actor/image appears?

justinodunnjustinodunn Member, PRO Posts: 226
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

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    Place the image on the screen with this rule
    When score > high score change attribute self.color.alpha to 1
    Otherwise change self.color.alpha to 0
  • justinodunnjustinodunn Member, PRO Posts: 226
    Place the image on the screen with this rule
    When score > high score change attribute self.color.alpha to 1
    Otherwise change self.color.alpha to 0

    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?
Sign In or Register to comment.