Pausing Current World

Discussion in 'Technical Discussion' started by AaroArts, Oct 4, 2017.

  1. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Hey,

    I have a question about Pausing Current World when you use Menu Jump.

    If I don't tick it, and allow the World to carry on behind the UI the Menu Jump jumped me to, will that have a negative impact on performance?

    Like, say I did 25 worlds and all were unpaused, would it lag?
    Or will it not matter upon entering a new world anyway?

    Cheers.

    @Andy you're probably the best person to answer this, but I welcome anyones insight.
    Thanks.
     
  2. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    The more MENU UI or WORLD UI you have, the more impact you will have.
    I advise you to have a single UI MENU "pause" and "game over" for the game. I use the "pause" button and the "back" button to return to the game.
     
    thekebster and AaroArts like this.
  3. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Ok cool.
    What if you have 20 different Challenges, where the previous unlocks the next, and you want to keep the world live under the Challenge complete screen?
     
  4. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Ticking or unticking the pause current world option would not have a noticeable impact on performance.
     
  5. Jayant Mall

    Jayant Mall Boxer

    Joined:
    Nov 5, 2018
    Messages:
    32
    Likes Received:
    2
    How do I pause the world without the player having a tap a button. For instance if a dialogue menu pops up and I want the game world to be paused automatically during that time.
     
  6. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Depending on your game, you might want to use a Menu Jump or Event Observer and jump to a new UI that has no controls.
    That way the game is still live in the background, but the Player can't move the Character.
     
    thekebster and Jayant Mall like this.
  7. Jayant Mall

    Jayant Mall Boxer

    Joined:
    Nov 5, 2018
    Messages:
    32
    Likes Received:
    2
    Yea I just figured that out, thanks to another fellow Boxer. The issue now is how to resume the game from where I left off when the cutscene/dialogue started. Currently I've connected the ending of the cutscene/dialogue Node to the Load Game World Node which restarts the game from the beginning once the dialogue is complete...
     
  8. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    You could either have a button that connects back to the same World, or use Checkpoints.
     
    Jayant Mall likes this.
  9. Jayant Mall

    Jayant Mall Boxer

    Joined:
    Nov 5, 2018
    Messages:
    32
    Likes Received:
    2
    Could you please elaborate on how I ca implement the checkpoints? Im sorry but I tried looking for some thread that explained that but couldn't find any...
     
  10. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    If you use an Action, you can set it to Set Checkpoint and Next Checkpoint.
    It depends on your game, but for example, if you place a Set Checkpoint Action at the start of each Scene or Level, you can return back to there using an Event Observer or Lock Buttons and things like that.
     

Share This Page