Is It Possible To Load New Levels Into Endless Game As You Play?

Discussion in 'Buildbox General Discussion' started by DBL, May 18, 2021.

  1. DBL

    DBL Boxer

    Joined:
    Feb 24, 2021
    Messages:
    42
    Likes Received:
    4
    I would like to add levels to my endless runner as the player reaches certain thresholds.

    For example:

    - Player starts game; game loads first 15 randomized scenes
    - Player collects 100 coins; game seamlessly loads next 15 randomized scenes as the player continues to play

    Is this possible?
     
  2. E Z

    E Z Boxer

    Joined:
    Sep 4, 2019
    Messages:
    12
    Likes Received:
    1
    Yes. I only have experience with BB 2, and this would be my method:
    1. Make a 15-scene world and connect it to your main world UI
    2. Within the world UI, add an event observer and set it to total coins 100. Make sure the "pause current world" box is checked.
    3. Connect your new event observer to another world
    4. You can repeat this over and over, and you may choose to set different observer types (coins, points, distance)
     
  3. DBL

    DBL Boxer

    Joined:
    Feb 24, 2021
    Messages:
    42
    Likes Received:
    4
    That works! Thank you for taking the time to type that up.

    It's a jarring transition as it leaves the first world and enters the second one, so I'll have to figure out something smoother.
     
  4. E Z

    E Z Boxer

    Joined:
    Sep 4, 2019
    Messages:
    12
    Likes Received:
    1
    Add a “transition UI” with a Time Out event observer. The transition can be a simple graphic or a text notice congratulating the player. You’ll need to play around with the graphical elements to create a smooth transition.
    Connections: World 1 —> World 1 UI points observer—> Transition UI —> Transition UI time out observer —> World 2
     
  5. DBL

    DBL Boxer

    Joined:
    Feb 24, 2021
    Messages:
    42
    Likes Received:
    4
    This works! You made my day. Thank you again!
     

Share This Page