Unhide achievements

I would like to add additional achievements to my game when the player buys an add-on (additional levels for example).  Does anyone know how to do this for Game Center, Google Play, and GameCircle?

reading the Game Center docs, it looks like sending an unlockAchievement call with a percentage of 0 will unhide a hidden achievement.  This may be the way to go, but I do not believe you can pass a percentage to Google Play at this time.  Not sure what happens when you pass 0 to a hidden achievement in Amazon GameCircle at all.

Anyone ever go through this?  I would like to have the achievements listed for this add-on only when purchased.

thanks!

Hi @schizoid2k,

You can unlock achievements in GPGS, but it’s done with a “simple” unlock, not by passing 100 as a percent.

I’m not sure how Amazon GameCircle handles this, but here’s a link to the plugin docs:

http://docs.coronalabs.com/daily/plugin/gamecircle/index.html

Best regards,

Brent

Thanks Brent, but I am not following what you mean by a simple unlock for Google Play.

What I have now is…

Game Center… pass 0 percent to unlockAchievement

Google Play… simple unlock (?)

GameCircle… ?

thanks

Hi @schizoid2k,

Please see the docs for GPGS, specifically “.request()”. You just pass “unlockAchievement” and the identifier of the achievement to unlock it.

http://docs.coronalabs.com/daily/plugin/gameNetwork-google/request.html#unlock-achievement

Thanks again Brent.

Maybe I didn’t clarify, or maybe I just don’t get what you are trying to tell me, but I don’t want to unlock an achievement.  

Once a player buys additional levels of my game, I want to make hidden achievements for those levels visible with 0% completion, so he/she can start to work on them.

By calling the request(“unlockAchivement”) as you indicated about, wouldn’t that set the GPGS achievement to 100% completion?  That’s what I am calling in my app now to unlock an achievement that’s already visible.

Hi @schizoid2k,

Unfortunately, at this time the GPGS plugin doesn’t support incremental achievements (only incomplete/complete). We may add this support later, but in the meantime, since you’re aiming for multiple platforms including Amazon, have you considered using something like Coronium to manage your games and game data?

Brent

Hi Brent,

I did check out Coronium, and I think it is really cool (I plan to use it for a future project), but I am not sure I want to use it to track leaderboards and achievements.  

Maybe I am wrong, but I feel that users would prefer the services that are already on their platform since it tracks all games played under their account.

–john

Hi @schizoid2k,

You can unlock achievements in GPGS, but it’s done with a “simple” unlock, not by passing 100 as a percent.

I’m not sure how Amazon GameCircle handles this, but here’s a link to the plugin docs:

http://docs.coronalabs.com/daily/plugin/gamecircle/index.html

Best regards,

Brent

Thanks Brent, but I am not following what you mean by a simple unlock for Google Play.

What I have now is…

Game Center… pass 0 percent to unlockAchievement

Google Play… simple unlock (?)

GameCircle… ?

thanks

Hi @schizoid2k,

Please see the docs for GPGS, specifically “.request()”. You just pass “unlockAchievement” and the identifier of the achievement to unlock it.

http://docs.coronalabs.com/daily/plugin/gameNetwork-google/request.html#unlock-achievement

Thanks again Brent.

Maybe I didn’t clarify, or maybe I just don’t get what you are trying to tell me, but I don’t want to unlock an achievement.  

Once a player buys additional levels of my game, I want to make hidden achievements for those levels visible with 0% completion, so he/she can start to work on them.

By calling the request(“unlockAchivement”) as you indicated about, wouldn’t that set the GPGS achievement to 100% completion?  That’s what I am calling in my app now to unlock an achievement that’s already visible.

Hi @schizoid2k,

Unfortunately, at this time the GPGS plugin doesn’t support incremental achievements (only incomplete/complete). We may add this support later, but in the meantime, since you’re aiming for multiple platforms including Amazon, have you considered using something like Coronium to manage your games and game data?

Brent

Hi Brent,

I did check out Coronium, and I think it is really cool (I plan to use it for a future project), but I am not sure I want to use it to track leaderboards and achievements.  

Maybe I am wrong, but I feel that users would prefer the services that are already on their platform since it tracks all games played under their account.

–john