Ui Screen(s) After Certain Levels?

Discussion in 'How Can I...?' started by wmfear, Dec 7, 2020.

  1. wmfear

    wmfear Avid Boxer

    Joined:
    Apr 6, 2018
    Messages:
    165
    Likes Received:
    89
    So I`m wondering if it`s possible to add a UI-screen after certain levels?
    I`d like to have for example the 3 first levels as tutorials, and then a UI-screen saying tutorials completed, before continuing to level 4. And then, later on, a new UI-screen after say level 20 and 40. Is this possible to achieve? My game has only 1 world, but several levels. Any tips would be appreciated :)
     
  2. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    604
    Likes Received:
    360
    You can use Event observers or just Event nodes to create different type of outputs. for that you'll be needing to keep track of current levels and if is what you want than trigger that x event
     
    wmfear likes this.
  3. wmfear

    wmfear Avid Boxer

    Joined:
    Apr 6, 2018
    Messages:
    165
    Likes Received:
    89
    Ok, I’ll try to play around with that. Thanks Vlad :)
     
    Vlad-NY likes this.
  4. wmfear

    wmfear Avid Boxer

    Joined:
    Apr 6, 2018
    Messages:
    165
    Likes Received:
    89
    Hi again.. Could you give me an example of how to actually do this? I`ve tried a lot of stuff, but I`m pretty sure I`m doing it completely wrong, cause nothing really happens...
     
  5. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    add an object at the end of the first levels with an if collide and a event observer,
    and for the rest of the levels add another object with a different event observer
    and so on
     
    wmfear likes this.
  6. wmfear

    wmfear Avid Boxer

    Joined:
    Apr 6, 2018
    Messages:
    165
    Likes Received:
    89
    Thanks guys! Finally got it working :)
     
    Vlad-NY likes this.
  7. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    604
    Likes Received:
    360
    Well done!
     
    wmfear likes this.

Share This Page