Level Progression Using Worlds

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

  1. buildboxuser

    buildboxuser Boxer

    Joined:
    Feb 3, 2019
    Messages:
    13
    Likes Received:
    1
    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
     
    itzonator likes this.
  2. whitedogapp

    whitedogapp Avid Boxer

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

    buildboxuser Boxer

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

    whitedogapp Avid Boxer

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

    buildboxuser Boxer

    Joined:
    Feb 3, 2019
    Messages:
    13
    Likes Received:
    1
    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:
    217
    Likes Received:
    32
    @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:
    13
    Likes Received:
    1
    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:
    217
    Likes Received:
    32
    ah ok so it was only preview problem , thanks
     

Share This Page