VilcsiTH Posted August 23, 2012 Report Share Posted August 23, 2012 Hello there! So, as I was saying, I have a list of things I want to ask now that I got my account activacted. My next question is that how can I make that if I get a 1-UP, I unlock an achievement, or if I collect 50 rings? Thanks for your help. Link to comment Share on other sites More sharing options...
Shadow_Striker Posted August 23, 2012 Report Share Posted August 23, 2012 Well, it's not that difficult. You simply have to check if the variable with the current rings value equals 50 and then make the events that will show the "Achievement Unlocked!" text trigger if that happens. In the case of the life-up it's the same thing except you'll need to trigger it when the player gets a life. You might also want to change another variable or flag so the event won't trigger again while the player is on the stage. If you're going to save the game, you'll also need to save a value to a file so the achievement will be permanently unlocked and the player won't be able to get it again. It's quite simple. Link to comment Share on other sites More sharing options...
Recommended Posts