Hello, In my game i want to reward players according to daily, weekly, and monthly leaderboards.
I mean, for the player who is first of daily leaderboard I want to reward him 100 virtual currency, for weekly 500 VC, and for monthly 1500 VC and then that leaderborad reset itself for other period.
Is there any way to do this? (I m not experienced about cloud scripting, If yes, can you share a code for cloud scripting).
Thanks
Answer by Sarah Zhang · May 01, 2020 at 02:18 AM
We would suggest you create three leaderboards separately for the daily, weekly, monthly rank. Then you can grant items to players within a range of rank using Prize Table. Please click the link to check the tutorial of using prize tables. Prize table natively supports granting inventory items and virtual currency to players. It’s not necessary to use CloudScript to give rewards.