質問

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

There is no such feature to Game Center achievements (at this point, who knows about future).

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top