How do I set a fader layer to cover all objects

  • I tried to create transition system that fade in/out between layout transitions.

    In HUD layer, there is a black large sprite which has Fade behavior. And I set HUD layer as Global.

    In Layer1, there is Text input field and green border square to test transition.

    In Layer0, there is a red text that show "Layout2".

    So I think when fade out, I can see only black display because HUD layer is top priority.

    But when fade out, objects on Layer1 are shown over HUD layer.

    This layout's event sheet is like below.

    How do I set fader layer always on top priority?

    Tagged:

  • Are you sure the black sprite is on "HUD" layer, and green box and text are on a layer below it? They should be hidden.

    However, it will not work with the Text Input. Form control objects are shown above everything else.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • dop2000

    Yes, black sprite is on HUD layer, and green box is on "Layer1".

    If I put green box to "Layer0", it work correctly.

    In this project, I set HUD layer as a global layer.

    And HUD layer's priority num is not match another layout.

    I think it is reason why green box shows above black sprite.

    However, it will not work with the Text Input. Form control objects are shown above everything else

    That's shocking... But very helpful info for me.

    I will hide Form control objects before fade out and show them after fade in.

    Thanks a lot.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)