There is no such feature to Game Center achievements (at this point, who knows about future).
Collections in Game Center achievements
-
02-04-2022 - |
質問
Is it possible to implement a "collection" kind of achievement in Game Center achievements?
Let's say you design a game with a lot of gems that the player picks up. The gems come in ten different types, and some gems are rarer than other. Only when you have picked up at least one gem of all ten types, the "Collector" achievement will be 100% completed/unlocked.
解決 2
他のヒント
Yes it's possible. You can use percentComplete property of GKAchievement
object. Store your users collected items somewhere (i.e. NSUserDefaults
) and report the percentage accordingly.
所属していません StackOverflow