Это видео недоступно.
Сожалеем об этом.

Set Up HUD & UI Widget - Unreal Engine 5 Tutorial [UE5]

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • Check out my inventory system:
    🌿www.unrealengine.com/marketpl...
    How to create a HUD class that adds an UI to the player screen / viewport.
    Furthermore, I show how to access and update the UI from the character blueprint.
    🔷💬Join my discord server / discord
    00:00 Intro
    00:09 Add UI To Player Screen
    02:19 Update Values In HUD
    04:32 Result & Outro
    #ue5 #unrealengine #NiceShadow

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

  • @tonylanglet
    @tonylanglet Месяц назад +1

    I'm new to Unreal Engine but with what you just show me I do get an understanding on how this can be used throughout the whole HUD, I've struggled finding best practices for these types of scenarios and other content creators tend to place these game updates on some random actors which didn't make sense for me. Thanks for the tutorial and keep em coming!

  • @ave_
    @ave_ 11 месяцев назад +3

    I have recently encountered some of your videos when searching for various Unreal topics and let me thank you for nearly perfect tutorials, clear instructions, straight to the point, no 20 min of unrelated talking. Thanks!

  • @alexfries350
    @alexfries350 Год назад +7

    Thank you for doing in 2 minutes what all of Unreal's official documentation don't do at all. Took you 2 minutes to explain how to make a widget and get it on screen, thank you for that.

  • @the_go0ber
    @the_go0ber Год назад +4

    You're a life saver! All of the other tutorials weren't clear!

  • @andythebouncer
    @andythebouncer Год назад +12

    What a phenomenally straightforward and efficient tutorial. Thanks!

  • @MykahMaelstrom
    @MykahMaelstrom 2 года назад +3

    Great, quick tutorial. keep it up!

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

    Amazing tutorial 👏 it all makes sense now

  • @ethanhatch1186
    @ethanhatch1186 4 месяца назад +1

    Perfect! Thank you!

  • @Gxaps
    @Gxaps 4 месяца назад +1

    Cheers, good tutorial

  • @fleXXo22
    @fleXXo22 Год назад

    Great Video!!
    Everything is explained well, and it is easy to follow along.
    However, I have run into a problem with the text block.
    Instead of changing the Text from the initial text to the changed text, both texts get overlayed over each other. Is there a setting I missed? Hope you can help.
    Thank You!

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

    World Settings, thank you 😀

  • @R-SXX
    @R-SXX 9 месяцев назад

    Really cool! Is this also an option If I like to have it move slightly when the player rotates or moves the camera (like a small delay of the hud elements so they are not tha static?)

    • @NiceShadow
      @NiceShadow  9 месяцев назад

      There is no built in option for that. So you would need to do the calculation yourself and update the widget translation on event tick. But how exaxtly you calculate something like this I don't know and I'd need to play around with it.

  • @murnoth
    @murnoth Год назад

    I like how you made the textBlock into a variable instead of binding. Question though? When I do use binding on text block, does that operate somewhat like a tick? If so, I think Your way of calling a variable change from an event is more efficient

    • @NiceShadow
      @NiceShadow  Год назад +1

      Thanks, yes I think so. If you place a print string in such a binding function it prints every tick. So if it's only reading a variable it should still be very performance cheap but I wouldn't cast to any other blueprint in there. So using an event to change it only when it's needed is more efficient in any way and I'd recommend using that

    • @murnoth
      @murnoth Год назад

      @@NiceShadow Awesome, thank you, and thank you for all the great content

  • @danielaragao9696
    @danielaragao9696 2 месяца назад +1

    i dont know why, i have to look many tutorials, and there is always somethin different, but this one worked out pretty easy. Now add damage and Mechanics, ouch

  • @loudmounthartist2257
    @loudmounthartist2257 Год назад

    What would use instead of get plyr controller if it’s a npc ?

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

    Hi, this Tutorial is amazing! But now i have the Problem that i also have it in the Main Menu, what to do?

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

      thanks, the main menu should be another map and you can select a different hud class there that you create for the main menu

  • @olsirmonkey
    @olsirmonkey 6 дней назад

    Okay but, how do get it to revert back when its not being called?

  • @Tommyboi7566
    @Tommyboi7566 Год назад

    How do I hide the widget on a main menu?

  • @Tommyboi7566
    @Tommyboi7566 Год назад

    It doesn't show up on my screen for some reason I've looked at all the tuts I'm using a progress bar for it and it don't show up. Any fixes?

    • @Tommyboi7566
      @Tommyboi7566 Год назад +2

      Nvm I re watched the vid it was bc my world settings had to not work I CANT THANK YOU ENOUGH SIR I HAVE BEEN STUCK ON THIS FOR DAYS

  • @alhusseinali
    @alhusseinali Год назад +1

    Thank you so much for this Tutorial

  • @sadge6430
    @sadge6430 Месяц назад

    uyi

  • @EliteOutlander
    @EliteOutlander 5 месяцев назад

    Um I cannot connect cast To "name here" to the uiref
    ? I don't know what i did wrong.

    • @NiceShadow
      @NiceShadow  5 месяцев назад

      Probably you are not casting to the right class. Maybe you cast to Hud and not NewHud or the hud that you created before. So make sure you cast to exactly the hud class that you've created

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

    Under Game Mode/Selected Gamemode, all the menus are greyed out for me :(

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

      Then you need to create a new game mode first and select it there

  • @rst4m
    @rst4m Год назад

    Is it necessary to move the mouse so frantically around the screen? Nauseated.

    • @NiceShadow
      @NiceShadow  Год назад +3

      If you get nausea by that I'm wondering what would happen if you wear VR Glasses xD

    • @NiceShadow
      @NiceShadow  Год назад

      But thank you for letting me know, I try to reduce it in the future :)

    • @rst4m
      @rst4m Год назад

      @@NiceShadow I guess it will amuse you. I am 49.

    • @jugee8
      @jugee8 Год назад

      hes like barely moving it brah. how much dpi u use?

  • @blakegt.7326
    @blakegt.7326 5 месяцев назад +1

    Why the HUD is usefull? We can just creat widgets and get them from the actor, so... I do not understand why to add this sencond layer "HUD" when you can just create widgets without a hud and update them also without a hud, then why create a HUD?❓❓❓

    • @InkFold
      @InkFold 5 месяцев назад +2

      I suspect it comes down to decoupling to reduce dependencies. The HUD really shouldn’t know about the individual pawns at all, and should only communicate to the player controller itself by proxy through this HUD layer of abstraction. Likewise, the player’s pawn and its related components should have no idea the hud even exists. This is so that a UI can be tested in isolation without the need for a player pawn to exist. You’re right that in smaller projects this isn’t an issue and your third (or first) person character pawn and absolutely interact with the HUD, but on teams of people or on larger projects it is not ideal. Hope that helps!

  • @supertna9154
    @supertna9154 8 месяцев назад

    I have been interrupted

  • @sadge6430
    @sadge6430 Месяц назад

    sda

  • @immortal3164
    @immortal3164 3 месяца назад +2

    what a clickbait picture..

    • @NiceShadow
      @NiceShadow  3 месяца назад

      The title is not indicating how to display a text on a simple mesh and make a nice shot from it. It does not contain red arrows or circles or other elements that are usually used for clickbait. And it's a short video, what do expect haha...
      Of course it should attract peoples attention but in a way that is fine :)