Level Progression Using Worlds

Discussion in 'BBAssets' started by buildboxuser, May 5, 2019.

  1. buildboxuser

    buildboxuser Boxer

    Joined:
    Feb 3, 2019
    Messages:
    34
    Likes Received:
    9
    The idea is that each level is new world and we need to keep user level progression infinite.
    Attached sample assumes that you will have 120 levels, they are split by 30 for convenience.

    result.png

    There is 2 nodes:
    • LevelSelectorLayer1 which splits level into 4 groups. When user reaches level >120 - group will be picked randomly between 2 and 4.
    • LevelSelectorLayer2 which allows to map 30 worlds
    Notes:
    • When you finish level/world you need to increment level and reroute from UI to world which contains LevelSelectorLayer1 (see Sphere.IncrementLevel script in attached sample)
    • There is hook in LevelSelectorLayer1 to force level to specific value, so you can test out specific world (go to LevelSelector1 world and pick LevelSelectorLayer1 in level elements tree)
    Example:
    https://drive.google.com/open?id=125dHRsAcbRu7yJpRbZI3SUHzdcXA3GCh
    LevelSelectorLayer1:
    https://drive.google.com/open?id=1Xu-t0-3FsyYW1SweW6dJIivQxptm2L74
    LevelSelectorLayer2:
    https://drive.google.com/open?id=1xmnT-e2Xr6AoU6rRHELtU_LW7lwwzmJH
     
    chris15smile and itzonator like this.
  2. whitedogapp

    whitedogapp Avid Boxer

    Joined:
    Oct 8, 2015
    Messages:
    295
    Likes Received:
    72
    hi, is it possible to choose Groups without random?????
     
  3. buildboxuser

    buildboxuser Boxer

    Joined:
    Feb 3, 2019
    Messages:
    34
    Likes Received:
    9
    sure, you can edit level selection script
     
  4. whitedogapp

    whitedogapp Avid Boxer

    Joined:
    Oct 8, 2015
    Messages:
    295
    Likes Received:
    72
    can u show how to be alugned not random???
     
  5. buildboxuser

    buildboxuser Boxer

    Joined:
    Feb 3, 2019
    Messages:
    34
    Likes Received:
    9
    Not sure I understood request. Did you open sample project? LevelSelectorLayer1 is where you can make a change.
    What kind of issue you have/logic you are trying to implement?
     
  6. Sam Jam

    Sam Jam Boxer

    Joined:
    Mar 24, 2019
    Messages:
    5
    Likes Received:
    0
    how can i fix this please? 65908195_315414209345302_3812791362290450432_n.jpg
     
  7. whitedogapp

    whitedogapp Avid Boxer

    Joined:
    Oct 8, 2015
    Messages:
    295
    Likes Received:
    72
    @buildboxuser
    Hello, friend does your nodes working on new update of bb3??
    i m testing it in preview and every time i am restrting it starts from level
     
  8. buildboxuser

    buildboxuser Boxer

    Joined:
    Feb 3, 2019
    Messages:
    34
    Likes Received:
    9
    I did test this in preview mode with latest Buildbox (3.0.1 #3152) and I see same issue: settings are not preserved during restarts. This was working in 3.0.0 which is latest release.
    I did test game on device and all works fine, please check.
     
  9. whitedogapp

    whitedogapp Avid Boxer

    Joined:
    Oct 8, 2015
    Messages:
    295
    Likes Received:
    72
    ah ok so it was only preview problem , thanks
     
  10. Serdar

    Serdar Boxer

    Joined:
    Apr 5, 2020
    Messages:
    27
    Likes Received:
    2
    Hi, I think should be pro version of BB right? Can I do this (limitless scene) in free version?
     
  11. buildboxuser

    buildboxuser Boxer

    Joined:
    Feb 3, 2019
    Messages:
    34
    Likes Received:
    9
    for infinite "worlds" - yes, pro version required. Infinite scene inside of single world is available in any version.
     
  12. torcu4us

    torcu4us Boxer

    Joined:
    Jan 30, 2018
    Messages:
    3
    Likes Received:
    0
    omg this is great! Except that I can't see scripts or move them anywhere else, I am forced to move my game on the sample you attached, or is there another way I can do this? Right now if I click "Edit Components" there is no script.

    Can I import the level selector in another bbdoc? Please help me, I really appreciate your help man! :)
     
  13. torcu4us

    torcu4us Boxer

    Joined:
    Jan 30, 2018
    Messages:
    3
    Likes Received:
    0
    oh it was inside world, I had to restart BB. Thanks anyway xD
     

Share This Page