Device Back Button Issue..

Discussion in 'How Can I...?' started by Jonathan Benson, Dec 13, 2017.

  1. ashcarter

    ashcarter Boxer

    Joined:
    Aug 6, 2017
    Messages:
    10
    Likes Received:
    1
  2. Muntaser

    Muntaser Boxer

    Joined:
    Jan 14, 2018
    Messages:
    17
    Likes Received:
    1
    swiftcurrent likes this.
  3. maxcar

    maxcar Boxer

    Joined:
    Sep 27, 2018
    Messages:
    23
    Likes Received:
    4
    Hi boxers, I'm having an issue with the Back button on Android as well.

    My game has different Worlds the player goes through when reaching X amounts of points. The player begins at World 1 with points cleared to 0, then after 10 Session points gets sent to World 2 and so on.
    Each World has a Game Over UI, so when the player dies there's a restart button sending the user back to World 1 and starting from 0, which is working fine. The problem, however, happens when the users presses the back button on their phone (instead of the Restart), and instead of restarting from World 1, they start from whatever World they last played.

    On my Game Over screens I've tried placing an invisible navigation button redirecting to my Main UI (function: default, Keyboard Key: B), But when testing it on my phone it doesn't work. Is there a specific place or way I should use with the invisible button?

    I'm using BB 2.3.7 by the way.
    Thanks
     

Share This Page