Bb3 - How To Go To Next Scene After The Player Complete A Scene?

Discussion in 'How Can I...?' started by imonedesign, May 4, 2019.

  1. imonedesign

    imonedesign Boxer

    Joined:
    Oct 25, 2015
    Messages:
    73
    Likes Received:
    50
    Hi Everyone?

    I'm creating this post because I didn't find a solution in the old posts.

    I only have the 3 worlds limit and I'm creating a game where all levels are similar except the placement of some elements so I want to ask if there is a way to go to next scene after completing the previous one? It will be perfect to just have "Next Scene" button or something like that! I know it may be a selling point to have worlds limit but for now I can't afford to pay $99 :(

    A "Next Scene" button can be helpful anyway to save time and space in the Mind Map.
     
  2. Jaro

    Jaro Avid Boxer

    Joined:
    Sep 21, 2018
    Messages:
    387
    Likes Received:
    126
    Yes , you can play scene by scene. Go to Edit and choose Align Scenes.
     
  3. Jaro

    Jaro Avid Boxer

    Joined:
    Sep 21, 2018
    Messages:
    387
    Likes Received:
    126
    It can help :
     
  4. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    There is a next scene button. Drag a lock button and from destination select next scene. This is in BB 2.3
     
  5. imonedesign

    imonedesign Boxer

    Joined:
    Oct 25, 2015
    Messages:
    73
    Likes Received:
    50
    I'm sorry I forgot to say that I'm working with Buildbox 3, I tried the lock button before method but it didn't working properly, I'll keep testing and see, thank you all.
     
  6. weboha

    weboha Avid Boxer

    Joined:
    Aug 8, 2018
    Messages:
    239
    Likes Received:
    178
    in BB3 for next level (next scene) you can use this code:
    this.scene().addLevel(String(Settings.level));

    every level complete add 1 to Settings.level.
    give scene names 1,2,3. in this way you can use every scene is a level.
     
  7. imonedesign

    imonedesign Boxer

    Joined:
    Oct 25, 2015
    Messages:
    73
    Likes Received:
    50
    Hi @weboha, thank you for your help, I just don't know where to put this code?
     
  8. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    check the level selector node in the progression template.
     
    imonedesign likes this.
  9. weboha

    weboha Avid Boxer

    Joined:
    Aug 8, 2018
    Messages:
    239
    Likes Received:
    178
    check BB3 progression sample. every scene is a level and when u finish scene level complete.
     

    Attached Files:

    imonedesign likes this.
  10. imonedesign

    imonedesign Boxer

    Joined:
    Oct 25, 2015
    Messages:
    73
    Likes Received:
    50
    Thank you @Tars Tarkas , I checked it already before but I didn't understand how it works back then, after you mentioned it again I give it more time and it looks like it's working properly now with my game.
     
    Tars Tarkas likes this.
  11. Arash Lowni

    Arash Lowni Boxer

    Joined:
    Jul 3, 2019
    Messages:
    3
    Likes Received:
    0
    What's the correct javascript line to allow me to goto a certain Scene?
    e.g - this.scene.goto(1)
     

Share This Page