Unreal Engine 5 Tutorial - Widgets Part 1: Canvas Panel

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 18

  • @FPChris
    @FPChris 8 месяцев назад +1

    Awesome intro. Simple and direct.

  • @johnheavenly3552
    @johnheavenly3552 7 месяцев назад

    Oh! Finally, finally someone explained about anchors!!! Continue the series, please!!! We need it so much!

    • @RyanLaley
      @RyanLaley  7 месяцев назад +3

      got 4 more episodes already lined up and recorded and edited. including...controller support in umg!

  • @Rose_Harmonic
    @Rose_Harmonic 7 месяцев назад

    I just spent a few weeks wrangling widgets and here you are!

  • @waadi3ach569
    @waadi3ach569 7 месяцев назад +2

    if it is related and not covered already a main menu or settings would be nice

  • @_blackdevilcreations
    @_blackdevilcreations 7 месяцев назад +2

    What i really miss at your explanation is, that you forgot to mention the cost of a Canvas Panel.
    it is the one UI Element, even Epic Games itself warn to use it too often (in the official ui optimization Doc).
    And that's a problem nearly all UI related Tutorials have. those tutorials throw that Panel around in every widget.
    It has additional DrawCalls for the anchor Layouts.. even compared to an Overlay.
    + The drawCalls raise exponentially when nesting Canvases into each other.
    There is a reason Epic Games removed the Canvas Panel to be the default Root element of UI, from UE4 to UE5.
    So please.. Use this Panel as sparely as possible! It really can mess up your performance.
    if you just need Elements overlaying each other, use an "Overlay" instead (or a Grid with only 1 column and row, but multiple children).
    still not perfect, but more efficient than a Canvas.

    • @gamerdweebentertainment1616
      @gamerdweebentertainment1616 6 месяцев назад +1

      Doesn't the Canvas give you the anchor ability? That part always in center and the other always that far from the corner? Too dumb to see the workaround for it, manually program it? Also I think only Main HUD needs it, rest don't. People really do use it too much? Even when making a crosshair?

    • @_blackdevilcreations
      @_blackdevilcreations 6 месяцев назад +3

      @@gamerdweebentertainment1616 the Anchoring of a Canvas is simply a background calculation of Alignment (which every Slot has) and padding, based on the Max Size of the Canvas. Sounds handy.. is handy.. but expensive if used everywhere..
      So.. yes.. the Main HUD Widget should use a Canvas as root.. maybe Fullscreen Windows, too.. but not the inventory.. the inventory slots.. the Pause Menu.. the Shop..etc..
      Again.. sparely.. not "never"..

  • @marcellofriko
    @marcellofriko 7 месяцев назад

    Amazing. I've got a feeling that all UI related content most of the time doesn't get much love and appreciation, so it's really hard to find information and tutorials about that. Specially UI materials and animations for UI

  • @LadySagitar
    @LadySagitar 7 месяцев назад

    Thank you for widget tutorials!

  • @html2664
    @html2664 4 месяца назад

    Thank you!!!

  • @kmtsvetanov
    @kmtsvetanov 6 месяцев назад

    hello. Love the videos that you provide us. I have one question for widgets.
    How can I create a canvas (lets call it world map) and in game time I wish to add new rooms based on player location. The world is PCG so it's random. I can't preload an image of the map.
    If you can just give me directions I can find how to do it. Thank you!

  • @An0therR0gue
    @An0therR0gue 7 месяцев назад

    i take it that the hud class would be good for other possesions like cctv cameras, drones, etc? would this be good for menus, or say in game menus like skill trees, etc? i am definitely looking for videos on this.

    • @gamerdweebentertainment1616
      @gamerdweebentertainment1616 6 месяцев назад

      Personally still think using widgets in the controller seems most reasonable, but each to their own. Personally trying to avoid casting for some reason, feels like I've made it unintentionally challenging for myself.

  • @caleb1448
    @caleb1448 7 месяцев назад

    Very helpful!

  • @DevShare420
    @DevShare420 7 месяцев назад

    Hey Ryan, could you please make a tutorial on how to make UE5.3 work with the Quest 3? I cant seem to get mine working even with a link cable. It would be greatly appreciated!

  • @GameDevelopmentwithShivanshu
    @GameDevelopmentwithShivanshu 7 месяцев назад

    Bro I'm UI developer. Please explain everything you know about UI in unreal engine. Also Its a request to make a complete series of UI like Genshin Impact.

  • @Box_Fun
    @Box_Fun 4 месяца назад

    unfortunately, this does not work for me, it is launched only through the level bluprint, your way of e whom the effect is simply not what is not displayed