Skip to main content
edited tags
Link
Anko
  • 13.5k
  • 10
  • 56
  • 82

Implementing unloackableunlockable items on Android

I know this would be a beginners question  (Somesome of you might think)

But i but I would like to know different approaches for this.

I have a game with lets say 20 unlockable items, at the main menu iI have a button where the user can go to aan activity and view the unlockable items.

  So iI would like for it to have a "Locked image" and under it a text telling you what the item is, and maybe how to unlock it.

What is the best way of going about this? 

And then when the item is unlocked during the game, maybe put a variable in the sharedpreference,shared preference and check at the beginning of the Activityactivity with the unlockabled items.

Let me know what you guys think. Thanks.

What is the best way for this?

Implementing unloackable items

I know this would be a beginners question(Some of you might think)

But i would like to know different approaches for this.

I have a game with lets say 20 unlockable items, at the main menu i have a button where the user can go to a activity and view the unlockable items.

  So i would like for it to have a "Locked image" and under it a text telling you what the item is, and maybe how to unlock it.

What is the best way of going about this? And then when the item is unlocked during the game, maybe put a variable in the sharedpreference, and check at the beginning of the Activity with the unlockabled items.

Let me know what you guys think. Thanks.

What is the best way for this?

Implementing unlockable items on Android

I know this would be a beginners question  (some of you might think) but I would like to know different approaches for this.

I have a game with lets say 20 unlockable items, at the main menu I have a button where the user can go to an activity and view the unlockable items. So I would like for it to have a "Locked image" and under it a text telling you what the item is and maybe how to unlock it.

What is the best way of going about this? 

And then when the item is unlocked during the game, maybe put a variable in the shared preference and check at the beginning of the activity with the unlockabled items.

Let me know what you guys think. Thanks.

Tweeted twitter.com/#!/StackGameDev/status/157287421413830656
Source Link

Implementing unloackable items

I know this would be a beginners question(Some of you might think)

But i would like to know different approaches for this.

I have a game with lets say 20 unlockable items, at the main menu i have a button where the user can go to a activity and view the unlockable items.

So i would like for it to have a "Locked image" and under it a text telling you what the item is, and maybe how to unlock it.

What is the best way of going about this? And then when the item is unlocked during the game, maybe put a variable in the sharedpreference, and check at the beginning of the Activity with the unlockabled items.

Let me know what you guys think. Thanks.

What is the best way for this?