Achievement unlocked and locked

Hi all.

I have some achievement in my game and when unlocked i don’t want the player can unlock them again. How can i do? Files I\O? Databases? How do you manage this situation?

And if i unlock an achievement when my device is offline, how i manage the openfeint\gamecenter issue? I should unlock automatically when the network start?

Sorry if my questions are stupid and for the poor english :slight_smile:

Thansk! [import]uid: 70929 topic_id: 23621 reply_id: 323621[/import]

Your questions are not stupid and your English is very good :slight_smile:

Openfeint I think used to handle this for you, although I am unsure whether or not this is still the case. (You could write to them and check but handling it yourself would make just as much sense to be safe.)

Saving the info when they unlock so you can make sure it is unlocked when they next go online would be a reasonable option.

Are you using native Game Center or integrating it through Openfeint? [import]uid: 52491 topic_id: 23621 reply_id: 95070[/import]

Thanks for your reply Peach, i don’t really like openfeint as user so i decide to use gamecenter as developer :slight_smile:
The only doubt i have now is, how to test it? i have to release the app or i can test on device? mmm… i’m going to try :stuck_out_tongue: [import]uid: 70929 topic_id: 23621 reply_id: 95104[/import]

You can test on device without releasing :slight_smile:

We have a thread on the basics right here: http://developer.anscamobile.com/forum/2012/01/13/native-game-center-tutorial

There’s also a blog post on this.

Peach :slight_smile: [import]uid: 52491 topic_id: 23621 reply_id: 95134[/import]