Best Practices for Collection tracking (achievements)
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?
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
-
UtopianGames Posts: 5,692
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
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