Best Practices for Collection tracking (achievements)

SingleSparqSingleSparq Member Posts: 1,339
edited April 2012 in Working with GS (Mac)
So Say if in a level you collect coins, you track how many are collected - and if level is completed it's added to a coin total.

Now if you collect (through more than one level) 25 coins an achievement is reached.

But Say you complete a level (collecting coins) then go back and replay that level - collecting the same coins this still adds to the total to get that achievement - should we be only be allowed to get those coins once in that level to get an achievement? Or take out any coins already taken in each level? What would be the best practice for that?

Best Answer

  • UtopianGamesUtopianGames Posts: 5,692
    Accepted Answer
    You could have a previously collected amount of coins and only increase the coin count if they get more when they play the level again.

    For eg 1st time they play they get 10/25 coins this counts 10 towards the bonus now the 2nd time they play they only collect 9 this counts nothing to the bonus now the 3rd time they play they get 15 this would count 5 towards the bonus.

    Just an idea but i think that's how i would do it.

    Darren.

Answers

  • SingleSparqSingleSparq Member Posts: 1,339
    Thanks Darren - for a minute there I thought I would have to say I was a "12 year old from x-country and this is my first game" to get a reply!
  • sebmacflysebmacfly Member Posts: 1,018
    So Say if in a level you collect coins, you track how many are collected - and if level is completed it's added to a coin total.

    Now if you collect (through more than one level) 25 coins an achievement is reached.

    But Say you complete a level (collecting coins) then go back and replay that level - collecting the same coins this still adds to the total to get that achievement - should we be only be allowed to get those coins once in that level to get an achievement? Or take out any coins already taken in each level? What would be the best practice for that?
    Hi SingleSparq,

    That can help you, it's a template with a banner, and you will see how to use achievements :
    (My template)
    http://marketplace.gamesalad.com/#category=13&product=1056

    Hope that help.

    Cheers!
    Sebby
Sign In or Register to comment.