Health Bar Tutorial 👉 With HUD On Screen | Unreal Engine 5

Поделиться
HTML-код
  • Опубликовано: 5 июн 2022
  • 💡 Download The FREE GameDev Tools Here: 👉 buvesa.com/free
    ✔️ Free GameDev E-book
    ✔️ Free Game Design Document
    ✔️ Free Platformer Course (UE5)
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    🏆 Join My Premium UE5 Course (The Unreal Vault) 🏆
    👉 Link: buvesa.com/course
    🗸 Full GameDev proces
    🗸 Level design
    🗸 Boss Fights
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    📱 SOCIALS 📱
    RUclips ► / @buvesagamedevelopment
    Instagram ► / buvesagamedevelopment
    TikTok ► / buvesagamedevelopment
    Twitter ► / buvesa
    Itch.io ► buvesagamedevelopment.itch.io
    🔔 Subscribe! 🔔
    Subscribe ► / @buvesagamedevelopment
    ☝️ DON’T CLICK HERE: / @buvesagamedevelopment
    In this UE5 tutorial i will show you how to create a health bar with HUD on screen. We will create the blueprint logic, set up the blueprint widget and show the health on screen. As a cool bonus we will also create a health pickup item from a blueprint actor. You can use this for all kinds of games. This unreal engine 5 tutorial is great for beginners to follow step by step.
    #unrealengine #gamedev #Buvesa

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

  • @dasistwalter96
    @dasistwalter96 2 года назад +2

    Simple and to-the-point tutorial. Well done and thanks a lot!

  • @wolfiedgr8t
    @wolfiedgr8t 2 года назад +2

    Best HUD and pickups tutorial I've seen 👍

  • @dennisz1252
    @dennisz1252 2 года назад +1

    Even though I wanted to add a pickup object that increments the player's score, this guide is very helpful. Thanks.

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

    I was so absorbed by the video that i forgot to follow the steps and create my own items, and just watched it until the end.
    Quick and to the point. Very enjoyable.
    Thank you very much.

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

    straight to the point; thank you

  • @johnstark5209
    @johnstark5209 2 года назад +1

    Awesome tutorial... Thanks!

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

    finally a normal tutorial that doesn't use the Bind option. thank you

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

    This was nice 🙂 Thank you. 💚

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

    ur amazing thank you!!!

  • @volcano.509
    @volcano.509 Год назад +1

    the best tutorial in the world🔥❤🔥

  • @aelren
    @aelren 22 дня назад

    very helpfull, thank you

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

    thank you!

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

    Thank you for the video

  • @djsalis
    @djsalis 2 года назад +1

    Thx for the video :)

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

    sorry for the replies, but i found it , by putting event AnyDamage instead of the F key , player that will go in a pain causing collision box will automatically drop health ,

  • @Opt4grunt
    @Opt4grunt 10 месяцев назад

    Great video but one ? do you do apply damages event for adding health or is that a different type of event?

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

    Man, thank you so much for the video.
    Please tell me how to make pickup_item possible to pickup by pressing the E button, for example 😊

  • @christopherfarrell-artist3557
    @christopherfarrell-artist3557 2 года назад +1

    I learn so much from your channel - based on this I am trying to work out a BP to reduce the health.....I think it's really good for us to take on and be inspired to develop these tutorials further. Thank you!!!

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

    thank you

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

    Can you change the F key from the health bar to like , a pain condition collision ?

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

    If I created a sidescroller view with a fixed camera. How do I align the health bars to show up at the top of that fixed view?

  • @0esp77
    @0esp77 Год назад

    thank you! but i have a question, 9:24 "Accessed none trying to read property blahblah.." This message appears at that time. How can I fix it?
    If I deal damage first and get healed, it won't pop up, but if I get healed before taking damage, it pops up.

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

    is there a way to change it so that instead of reloading the map I can reload from a checkpoint i created do you know how?

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

    sorry again for my continuous replies ! lol, do you have a swim system tutorial ? i really like your way of explaining its perfect and i learn a lot , but im struggling on making my character swim in water ! i have everything in place, but the animation that can't seem to start when im in the water, you can feel the boyancy of the character , but he keeps having the run animation instead of the swim one

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

    where to download the health pickup mesh?

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

    i tried changing cast to pain causing volume instead of F key .. it doesnt seem to affect the health bar .. ( im newbie :P )

  • @oneautumnleaf616
    @oneautumnleaf616 10 месяцев назад +1

    Hello, im trying make this health bar, but i can't put one more "Event BeginPlay" because it is in input mapping. My bar do not become smaller, it also dont move. Somebody can help me with this?

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

    like instead of pressing a key the player can get dammaged from a particular spot in the world with the pain collision ?

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

    for some reason my health after attaching to the slider update, hitting the f key kills me instantly. when it was the print, it decreased by 20. i messed up the slider somewhere

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

    for some reason I cannot find the Update Health Bar function. Nothing shows up, though I have created the function I just cant add it to the Health Bar Reference since it wont show

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

    thanks a lot it worked perfectly but I don't know how to apply it to a world widget on AI head because I made a widget in the mesh, put WB_HealthBar, but it didn't refresh but the viewport/screen one is perfectly working

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

      To apply a health pickup to an AI head in Unreal Engine 5, you will need to follow these steps:
      Create a custom event in the AI character blueprint that triggers when the AI takes damage
      In that event, update the value of the health bar widget and bind it to the AI's current health
      Call the custom event in the AI character blueprint whenever the AI takes damage
      In the AI head widget blueprint, bind the updated health bar widget value to the AI's current health
      Set the AI head widget blueprint to be displayed on the AI's mesh when the custom event is triggered.
      It's possible that the issue you're encountering is caused by the fact that the widget isn't properly bound to the AI's current health. Double check your bindings and make sure they are set up correctly.

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

    Hi.
    I want to create a health bar green, yellow and than red.
    How to do that?

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

      To create a health bar with different colors based on the current health percentage, you can use a "Linear Color Interpolation" node in your widget blueprint. Here are the steps to achieve this effect:
      Create a progress bar widget in your UE5 project and set its "Percent" property to the current health percentage (a value between 0 and 1).
      Add a "Linear Color Interpolation" node to your widget blueprint graph.
      Connect the "Percent" property of the progress bar to the "Alpha" input of the "Linear Color Interpolation" node.
      Set the "A" input of the "Linear Color Interpolation" node to (0, 1, 0), which is the color green.
      Set the "B" input of the "Linear Color Interpolation" node to (1, 1, 0), which is the color yellow.
      Set the "Alpha" input range of the "Linear Color Interpolation" node to (0, 0.5), and the "Output Range A" to (0, 1, 0), which is the color green.
      Set the "Alpha" input range of the "Linear Color Interpolation" node to (0.5, 1), and the "Output Range B" to (1, 0, 0), which is the color red.
      Connect the output of the "Linear Color Interpolation" node to the "FillColorAndOpacity" property of the progress bar.
      By using a linear color interpolation, the color of the progress bar will smoothly transition from green to yellow as the health percentage decreases from 100% to 50%, and then transition from yellow to red as the health percentage decreases from 50% to 0%.

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

    what if you already have something on ur beginplay, what to do then?

    • @AzoTheRed
      @AzoTheRed 2 месяца назад

      Just add to it

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

    I put this settings with health pick
    between Player and enemy and i set to pick both ,but enemy can pick health and player not, lol

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

    great tutorial, my only issue is, i followed everything (3 times) yet my i seem unable to pick up the health item for some reason edit: fixed it

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

      Good you fixed it ;)

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

      @@BuvesaGameDevelopment yes thank you. your tutorials are great, but even they cant account for my own stupidity lol. do you have any videos on creating damage attacks?

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

      @RiverFox_YT Use a collision object over your weapon and your "enemy"; check for overlap of the two; on overlap inside enemy BP cast overlapping object to actor or whatever your weapon is classed as. If type is weapon, trigger damage on enemy.