Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

[HELP]Achievement: Get 50 Rings!/Get a 1-UP!


VilcsiTH

Recommended Posts

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...