Interface + Border around scene

  • #1, z mulewaTuesday, 11. January 2022, 23:04 hodinky 2 years ago
    Hello i am bloody beginner and just run into an problem that i don´t know how to solve.
    I have in my bottom an inventory-line.
    I always have in my inventory some pills, when i use the way how you can use the character will change (different dialogs, different interactions).
    To visualize in which mood the character is i want to activate an halftranceparent border over the scene(Black-Border, White-Border, No-Border).
    My idea was to have a fullscreen inventory with the real inventory on the border-line and a action area button with the borders and the rest transparent.
    But this is not working because than my fullscreen inventory blocks the interaction with the scene.
    Than i tryed it with only a small inventory-line (no fullscreen) but than my borders from the action-area-button is not on the screen anymore.
    to add the border direct on the scene i wanted to avoid, because than i have to add and set the actions on every scene seperate.
    Or is it possible to use the particle system for this? but how?
    Is there an aditional way how to realize it, what would be your recommendations
    (see also pictures)

    Bažant

    21 Posts


  • #2, z afrlmeWednesday, 12. January 2022, 15:12 hodinky 2 years ago
    You need to specify the interface area. Use the second button from the left, above the interface preview viewport. Then draw in the interface area - taking in mind that anything below the specified interface area will no longer be interactable.

    If you don't want any of the interface to disable interaction below it, then you need to draw a tiny interface area outside of the interface background image. If you don't draw an interface area, but have a background image assigned to the interface that's as large as the default game resolution or higher, then it will automatically disable all interaction below it. In other words, by default the background image you assign to an interface determines the interface area, unless you manually draw in the interface area.

    Based on your screenshot & what you want to do, the interface area should be drawn around the inventory bar.

    Imperátor

    7285 Posts

  • #3, z mulewaFriday, 14. January 2022, 21:50 hodinky 2 years ago
    Ah thx,
    looks that i had some tomatoes on my eyes wink
    now it is working as expected

    Bažant

    21 Posts