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.
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.
Here is a link to the PlayFab recipe for this. https://github.com/PlayFab/PlayFab-Samples/tree/master/Recipes/RegeneratingCurrency
We support regenerating currencies. Please see the "Recharge Rate" section of this tutorial: https://api.playfab.com/docs/tutorials/landing-commerce/currencies
Thats, awesome! one question, How do I know the time remaining for the next recharge?
It's in the VirtualCurrencyRechargeTimes in the inventory response: https://api.playfab.com/documentation/client/method/GetUserInventory.
3 People are following this question.