Daily Rewards

Discussion in 'How Can I...?' started by rcantone, Jun 25, 2017.

  1. rcantone

    rcantone Boxer

    Joined:
    Aug 3, 2016
    Messages:
    57
    Likes Received:
    11
    Is there a way to implement a daily reward system in Buildbox right now?
     
  2. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    Yes, well sort of.
    If you want to add daily rewards for coins you can.
    Just put in an action and set the amount of coins you want to reward.
    Then in your UI drag in an action button.
    Then set the time . For 24 hours.
     
  3. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    This is cool. Never thought to do that. Awesome :D
     
  4. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Do you have a working example of this as I can't seem to get it work?
    Thanks :)
     
    adrogdesigns likes this.
  5. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    screenshot attached.
    the time can be set to what you like. 1 hour 2 hours or 24 hours.
    the screenshot is 30 minutes.
    just place an action button on your UI. make sure you select your action to match your bonus action.
    you can also have a count down on your button, so the user can see how long till next bonus.
    in the screenshot the label is set to zero, so the timer is not visible, but just alter the label size to what you want, if you want the timer visible.
     

    Attached Files:

  6. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Does it not work on the BB Preview?
    Because I'm doing all the above, but for 1 min to test, and it's not working :(
    My action is a coin, with a value of 100.
    When I press it nothing happens... then after I wait the length of time, still nothing happens...
     
  7. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    Works in bb preview.
    Make sure it's a action button, not a purchase button.
    Here's my game with it set to 30 minutes.
    Spin Round
    https://appsto.re/au/qLOpkb.i
     
  8. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    I have an Action Button...
    What coin settings do you have for your Action?
    I must be doing something obvious wrong.
     
  9. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    Hmmm
    I have an action set to coins. Named reward
    Then drag in action button
    Select action reward.
    Then set the rest as the screenshot.
    I'll try make a demo file , but it won't be for a few days as I'm away at the moment, but soon as I get back I'll make it if you don't get it to work
     
  10. Kevin W

    Kevin W Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    368
    Likes Received:
    487
  11. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Thanks guys for posting.
    But I don't know what to tell you, it's just not working... on Preview or my device.

    I'm doing everything exactly from what I can tell...
    What version of BB are you using?

    Also, did you add the countdown timer post BB?
     
  12. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    I'm using 2.2.9 but it definitely works on 2.2.8 as well
     
  13. rcantone

    rcantone Boxer

    Joined:
    Aug 3, 2016
    Messages:
    57
    Likes Received:
    11
    Haven't had a chance to test yet but super awesome can you make the amount change daily by chance?
     
  14. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    No you can't change it daily that I'm aware of , only every time you update your game you could
     
  15. rcantone

    rcantone Boxer

    Joined:
    Aug 3, 2016
    Messages:
    57
    Likes Received:
    11
    Gotcha, wish you could have it random that would be super awesome!
     
    adrogdesigns likes this.
  16. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    When I get home I'm going to test it again but reinstalling the app on my device or trying it in a new preset... something's being weird.
    My label says 99999 even though it's set to 1
     
  17. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    You're never going to believe this... but in order for the button to invoke an Action, it has to have a "World" under the "UI".

    This whole time I've been trying various things with it just in the main menu UI, straight from the Splash screen.

    Now I feel stupid.
    Thanks Adrog and Kevin. Really appreciate your help on this.
     
    Last edited: Jun 28, 2017
  18. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    Cool, glad you got it to work
     
    AaroArts likes this.
  19. Chris_lee

    Chris_lee Boxer

    Joined:
    Jul 17, 2017
    Messages:
    13
    Likes Received:
    1
    So I have a reward button, That plays an ad. After the video, it rewards them with coins. How do I limit the user a daily use? So the user can only use the press the button 10 times every 24 hours?
     
  20. Akash Khatkale

    Akash Khatkale Boxer

    Joined:
    Sep 11, 2016
    Messages:
    72
    Likes Received:
    14
    How did you implemented rewarded ads?
     

Share This Page