How do you create an Achievement Pop up?

iCreationZiCreationZ Member Posts: 158
edited October 2012 in Working with GS (Mac)
I want to include in-game achievements, to help give players an incentive. Its all working fine, with attributes that track things like Game Time and Enemies Killed and a scene that displays whether they are achieved or not, giving a percentage. However, I'd like to incorporate an in-game pop up, using the pause scene behaviour. I've currently put a rule in the background actor that says: If attribute game.gametime = 3600 (1 Hour), pause game -> achievement scene. Again, this works great, but there is no way of keeping track of whether or not an achievement has popped up, because if you kill 10 enemies and get the achievement, leave the game and re-enter, it pops up again.... How's the best way to get around this?

How do you have a pop up that only occurs once?

Best Answer

  • Yovanny369Yovanny369 Posts: 105
    edited October 2012 Accepted Answer
    I think so, but once it is done is done ;)

Answers

  • Yovanny369Yovanny369 Member Posts: 105
    To me you have to do this.
    Create a boolean Called "Lock Achievement" then add it to your rule

      game.gametime = 3600
    Lock Achievement is False

    Change "Lock Achievement" to true in the achievement scene.
     
    do not forget to save it.
  • iCreationZiCreationZ Member Posts: 158
    Ok, I'll have a try.. Is this something I'll need to do for every achievement? I have dozens of them... :(
Sign In or Register to comment.