question

fiercy avatar image
fiercy asked

Button To Give Virtual Currency Daily

So I just to give some number of virtual currency everyday (Once) if the user clicks this 1 button inside the app and obviously its only avaliable to be clicked once a day.

Whats the best way of doing this and is there an example?

10 |1200

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

1 Answer

·
brendan avatar image
brendan answered

Yes, I'd recommend having a look at our daily progressive rewards example, here: https://github.com/PlayFab/PlayFab-Samples/tree/master/Recipes/ProgressiveRewards. In short, record the last time the player claimed their reward, and check that whenever they push the button.

10 |1200

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

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.