How to make a HEALTH BAR in Unreal Engine 4 (Blueprints)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 25

  • @thefoxlight9200
    @thefoxlight9200 2 ปีที่แล้ว +6

    I don't understand you put too many cut so its make me lost and now i don't understand what i'm doing

  • @pyjamakingtech427
    @pyjamakingtech427  3 ปีที่แล้ว +2

    Thanks for watching, let me know if you need help with anything!
    Also any feedback is welcome as this is my first tech tutorial
    Timecodes: (I should probably use less timecodes lol)
    ⏮VIDEO CHAPTERS⏭
    0:00​ - End result
    0:10 - Creating a player HUD widget
    0:23 - How to anchor your progressbar
    0:40 - How to change colour
    0:50 - Progress bar value explanation
    1:09 - Instantiating the HUD
    1:36 - Setting up our health system
    2:22 - How to take damage/heal
    2:54 - How to debug our blueprint
    3:00 - Attaching our health to the HUD
    3:10 - Method 1: Bind function
    3:34 - Method 2: Separate function

    • @VDClearner
      @VDClearner 2 ปีที่แล้ว

      How to add percentage in the progress bar, its very imp

  • @144fps_que_pro
    @144fps_que_pro 2 ปีที่แล้ว

    2:56 how to make target to player hud?

  • @alissonkaykydasilvabatista517
    @alissonkaykydasilvabatista517 หลายเดือนก่อน

    well i was doing my own, and was having trouble to make an upgrade hp system, like when it was bought the bar stayed at 100, but after changing the divisor of the heath update to the max life it worked

  • @SoundsLikeGlitter
    @SoundsLikeGlitter 3 ปีที่แล้ว +3

    How to get "delta health" to show on change "health function" that was created? 2:25

    • @pyjamakingtech427
      @pyjamakingtech427  3 ปีที่แล้ว +3

      Looks like I've accidentally edited out that part, sorry for that!
      After creating/selecting the function you can add an input parameter(deltaHealth) on the right side in the details panel > underneath input. You'll see a plus icon, if you press that the variable gets created, you can give it a name and than change the variable type to a float.
      Hopefully that helps and have a nice day! :)

    • @SoundsLikeGlitter
      @SoundsLikeGlitter 3 ปีที่แล้ว +1

      @@pyjamakingtech427 thanx! I will try

    • @pyjamakingtech427
      @pyjamakingtech427  3 ปีที่แล้ว +1

      No problem, hope it helped! If you have any more questions, don't hesitate to ask!

    • @SoundsLikeGlitter
      @SoundsLikeGlitter 3 ปีที่แล้ว

      @@pyjamakingtech427 i am wondering how to get it compatible with this video that I had already followed. (Seeing as he made a few changes to the default project and class settings) I'm wanting the heathbar to deplete as I take damage from the damage actor in this vid.
      th-cam.com/video/rA6PnJDY1m8/w-d-xo.html

  • @Galactic333
    @Galactic333 9 หลายเดือนก่อน

    th is delta health

  • @bosanachd5734
    @bosanachd5734 2 ปีที่แล้ว

    i dont understand how do i debug Blueprint

  • @KaioMkun
    @KaioMkun 2 ปีที่แล้ว

    it shows on my Main menu how can i make it shows only when the game started or player hits play button ?

  • @leonixidas9941
    @leonixidas9941 3 ปีที่แล้ว

    Very quick and informative video. Everything is clear and easy to understand! Good job!

  • @OnTR4
    @OnTR4 3 ปีที่แล้ว +1

    Hii Thank you for the tutorial, however I have question for delta health where it come from I freeze in that place.

    • @pyjamakingtech427
      @pyjamakingtech427  3 ปีที่แล้ว +1

      Hi Abdulla, thank you for your comment! I hope the video was helpful.
      I just realized I didn't include footage of me adding the variable, which might've caused the confusion, sorry for that!
      Delta health is an input variable of the function. You can add this by selecting the ChangeHealth node, now you should see a "details" tab on the right of your screen. There you have to look for a dropdown menu called "inputs", when you hover over it, it should give you the option to add a variable. After that you just need to change the name and type to float and it should be the same as in the video
      Let me know if you run into any other issues!

  • @thenewlegends7573
    @thenewlegends7573 3 ปีที่แล้ว +1

    i would love to see some UI animations and effects on this (maybe a little shake for when you get damaged)

  • @clownf1sh_660
    @clownf1sh_660 2 ปีที่แล้ว

    Damn you deserve more subs I thought u had like 5000+

  • @TimBorggrenDenmark
    @TimBorggrenDenmark ปีที่แล้ว

    OMFG
    Losing a lot of steps like delta health

  • @viannvanstaden1431
    @viannvanstaden1431 4 หลายเดือนก่อน

    not very good tutorial, very jumpy with camera and not clear

  • @Banboogg
    @Banboogg ปีที่แล้ว

    i didnt understand anything you did too many cuts and wasted 30 minutes of my life

  • @GameBangStudios
    @GameBangStudios 3 ปีที่แล้ว

    .

    • @pyjamakingtech427
      @pyjamakingtech427  3 ปีที่แล้ว

      Thanks for your feedback, anything in particular you think I could improve on?

    • @GameBangStudios
      @GameBangStudios 3 ปีที่แล้ว +1

      @@pyjamakingtech427 ended up fixing it it was a issues you on my part my bad bro

    • @pyjamakingtech427
      @pyjamakingtech427  3 ปีที่แล้ว

      No problem, happens to the best of us! :D Glad you got it fixed!