Pause On System Events

Discussion in 'How Can I...?' started by Titus, Jul 18, 2018.

  1. Titus

    Titus Boxer

    Joined:
    Jun 10, 2018
    Messages:
    8
    Likes Received:
    2
    Hi, newbie boxer here. How can I make the game detect incoming calls and pause the game when the call is activated?
     
  2. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    Hi @Titus welcome to the forum. I'm not sure about Android, but for iOS, I'm pretty sure pausing an active app is standard Apple procedure anyway for an incoming call, so you don't need to implement anything in Buildbox.
     
  3. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    As long as your game has a pause screen (ui)
    It will pause and return to the pause screen
    Apple will pause no matter what, I think.
    But Android I’m pretty sure needs the pause screen
     
  4. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
    I don't think you need to add special feature to pause screen on android.While playing game the call would appear in notification.Accept the call and game goes to background where you have left and after end call the game resumes automatically from last location .Hope this helps.
     
  5. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    thats treat does pause in the background, but if you ever want a feature on google play, that is one of the requisites that they have. the game must return to a pause screen with a continue button.
    So best to put it in place.
     
    TheGameAppStudio likes this.
  6. Titus

    Titus Boxer

    Joined:
    Jun 10, 2018
    Messages:
    8
    Likes Received:
    2
    Thank you all for the feedback. I appreciate the community input. Makes development easier
     
    TheGameAppStudio likes this.
  7. rcruz82

    rcruz82 Boxer

    Joined:
    Apr 16, 2018
    Messages:
    20
    Likes Received:
    11
    I'm surprised by the responses on this thread. I have a pause menu but when I get a call or press the home button the game is still playing and no pause menu when I get back into it. Same results on ios and andriod.
     

Share This Page