Search Unity

  1. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  2. Unity 2017.2 is now released.
    Dismiss Notice
  3. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  6. Unity 2017.3 beta is now available for download.
    Dismiss Notice

Daily Rewards

Discussion in 'Assets and Asset Store' started by nunesbarbosa, Feb 12, 2015.

  1. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    facebook.png

    Daily Rewards
    is a great way to increase retention but also helps monetization as players get a sense of the benefit of having more coins/currency within the game.

    Avoid player cheating by changing the device clock! This asset uses an anti-cheating mechanism that uses a network clock.
    • Supports multiple days (even weeks or months)
    • Time rewards feature for a single reward per seconds interval
    • Mobile ready
    • Easy to use
    • Easy to integrate
    • Portrait and Landscape versions

    Check in the asset Store:
    http://u3d.as/bgH

    Demo

    Documentation

    First 5 users replying this thread gets a Voucher!
    - Edited - The vouchers are over.

    Don't forget to rate!
     
    Last edited: Jan 5, 2017
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    4,024
    hey :) i could try test it on some small game later in here.
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    4,024
    btw. When you click "claim" the time is 00:00:00 for a 1 second, not that it matters much,
    but I guess it could be fixed (or made appear only when it passed 1s, to show correct time)
     
  4. MDefender

    MDefender

    Joined:
    Dec 4, 2014
    Posts:
    2
    It's an awesome pack, I recommend it.
     
  5. MDefender

    MDefender

    Joined:
    Dec 4, 2014
    Posts:
    2
  6. nosyrbllewe

    nosyrbllewe

    Joined:
    Oct 18, 2012
    Posts:
    180
    Cool. This could be pretty useful. Can the rewards last longer than 5 days without reseting (or keep the reward for the 5th day for every day following in a row?
     
    Last edited: Mar 1, 2015
  7. ctknoxville

    ctknoxville

    Joined:
    Oct 1, 2013
    Posts:
    32
    Looks like a great idea. Would like to try it out too on one of our games :)
     
  8. Damien-Delmarle

    Damien-Delmarle

    Joined:
    Dec 26, 2012
    Posts:
    1,100
    does it work with a back end?
     
  9. cg_destro

    cg_destro

    Joined:
    Aug 13, 2013
    Posts:
    142
    Would like to try it out too :)
     
  10. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    The asset was made to work in cycles of N days. After it reaches the last day, it goes back to the first.
    It is array based, so it works for an infinite number of days.
     
  11. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    Daily Rewards works with two PlayerPrefs variables :
    - When was the reward was claimed
    - What was the last reward

    I guess you can adapt those variables to your server or database if you want some backending but the code is prepared for that.
     
  12. revocelotmoky

    revocelotmoky

    Joined:
    Mar 4, 2014
    Posts:
    10
    Hi, does it work on mobile?
     
  13. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    Yes, it is mobile ready.
     
    revocelotmoky likes this.
  14. Mr.Stein

    Mr.Stein

    Joined:
    Dec 4, 2013
    Posts:
    169
    @nunesbarbosa, this have notifications or push notifications for alert the user when the game/application is not ON?
     
  15. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    Daily rewards does not have the mobile local notification feature.

    I recommend using assets such as https://www.assetstore.unity3d.com/en/#!/content/10825 or https://www.assetstore.unity3d.com/en/#!/content/9484 or https://www.assetstore.unity3d.com/en/#!/content/25871

    and then integrating Local Notifications into the code according to the platform.
     
  16. Mr.Stein

    Mr.Stein

    Joined:
    Dec 4, 2013
    Posts:
    169
  17. dragon2777

    dragon2777

    Joined:
    Jan 28, 2016
    Posts:
    1
    does this work with Unity 5 I got a warning that it might not be compatible thank you
     
  18. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    Daily Rewards is compatible with Unity versions 4.6 and up.. it is fully compatible with all 5.x versions.
     
  19. TomSantoro

    TomSantoro

    Joined:
    Oct 17, 2015
    Posts:
    6
    Hey,

    Awesome plugin.

    Is there a way I can edit the code so as to reward the player a different item on the last day?

    For example:

    "Day 1 = 100 coins
    Day 2 = 200 coins
    etc...
    Day 7 = 1 gem"

    ?

    Thanks in advance
     
  20. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    TomSantoro, the code is open to edit and this feature should be rather easy to implement. I may add this flexibility on a future release. If you have questions on how to do it please send me a message.
     
  21. TomSantoro

    TomSantoro

    Joined:
    Oct 17, 2015
    Posts:
    6
    Thanks! Have sent you a message!
     
  22. TomSantoro

    TomSantoro

    Joined:
    Oct 17, 2015
    Posts:
    6
    Great support!

    Worked a treat!

    Thanks!
     
  23. bigcatgame

    bigcatgame

    Joined:
    Mar 11, 2015
    Posts:
    1
    hi,
    Have plugin protect cheating? if changing phone time in settings.
     
  24. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    The plugin does not protect from cheating. It is possible change the script to use a server time instead of using the local time but it requires some programming skills.
     
  25. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    71
    Hey everyone!

    Sorry I took so long to update Daily Rewards. There are a lot of big changes on the new version including an anti cheating API.

    @bigcatgame