How To Make A Gift Timer Work When App Is Closed

Discussion in 'How Can I...?' started by Robin Kuyer, Apr 8, 2019.

  1. Robin Kuyer

    Robin Kuyer Boxer

    Joined:
    Feb 6, 2019
    Messages:
    3
    Likes Received:
    0
    Hi all,

    My game is giving lives each minute, but for some reason, when you leave the game for let's say three minutes, it should add three lives. Then on re-entering the game, you will see the counter at minus three minutes, but it only adds one life, how can I fix this?

    I have added lives to my game of which you get 10 at the beginning and it will cost a minute to regenerate one.

    I made an action button, which is basically the start button which will perform the action of current checkpoint, so it will bring you to your last level.

    I then added a refill count which is set at 10 (see sceenshot).

    What am I missing here?

    I can also make it that lives are being held by a coin value and then make it cost one coin to start the game. Would this possibly solve this issue?
     

    Attached Files:

  2. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    I don't think BB has that feature yet. Only works while in game and not when game is closed. I may be wrong. @NikRudenko ??
     
  3. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
  4. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    Ahhhhhhhhhhh so that's how that works.
     

Share This Page