How To Go To Previous Scenes ?

Discussion in 'How Can I...?' started by aryanveer95, Jun 23, 2020.

  1. aryanveer95

    aryanveer95 Boxer

    Joined:
    Oct 7, 2015
    Messages:
    39
    Likes Received:
    15
    In Buildbox2, I can go to next scene using Next checkpoint Option. But am unable to crack how to set the functionality for (Previous Scene) Button. Is it possible to go to previous scenes using a button ?.

    PS: I know how to implement this using multiple worlds. I want to implement this in single world.
    Untitled-2.png
     
  2. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    315
    Likes Received:
    158
    store previous scene name as settings data and use this line
    Code:
      this.scene().addLevel(String(Settings.level));
    this code will set this "Settings.level" as the current scene
     
  3. aryanveer95

    aryanveer95 Boxer

    Joined:
    Oct 7, 2015
    Messages:
    39
    Likes Received:
    15
    Thank you for reply. But here i am talking about Buildbox2. Not buildbox3.
     

Share This Page