How do you create an Achievement Pop up?
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?
How do you have a pop up that only occurs once?
Answers
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.