question

Janderson avatar image
Janderson asked

Lives system like in Candy Crush Saga

I am trying to implement a lives system in Candy Crush Saga where if you run out of lives then in 5 minutes they will regenerate.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Travis Pettry avatar image Travis Pettry commented ·
0 Likes 0 ·
Janderson avatar image Janderson Travis Pettry commented ·

Thank you man, this clear my mind a lot.

0 Likes 0 ·

1 Answer

·
brendan avatar image
brendan answered

We support regenerating currencies. Please see the "Recharge Rate" section of this tutorial: https://api.playfab.com/docs/tutorials/landing-commerce/currencies

3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Janderson avatar image Janderson commented ·

Thats, awesome! one question, How do I know the time remaining for the next recharge?

0 Likes 0 ·
brendan avatar image brendan Janderson commented ·

It's in the VirtualCurrencyRechargeTimes in the inventory response: https://api.playfab.com/documentation/client/method/GetUserInventory.

-1 Like -1 ·
Janderson avatar image Janderson commented ·

This currence Recharge Rate its awesome!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.