Creating A Dynamic Progress Bar | For Our Stamina - Unreal Engine 4 Tutorial
Вставка
- Опубліковано 12 чер 2024
- Hey guys, in today's video, I'm going to be showing you how to create a progress bar to display a value from your character blueprint, for example; stamina, health, hunger, etc.
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:22 - Tutorial
04:53 - Overview
05:15 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10
all your videos are helpful man good work!
Awesome, thank you so much!
I'm giving your channel credit when I finish my game!
Thank you so much! I really appreciate that! :)
I have given in my first, will give in second game too, no doubt
Same
Blueprint Runtime Error: "Accessed None trying to read property charecter_Ref". Node: Return Node Graph: GetPercent_0 Function: Get Percent 0 Blueprint: NewWidgetBlueprint
Thanks so much for the tutorial❤
No problem, happy to help :)
this is excellent. i never realized I could just divide the integer by 100 to get the percentage for the progress bar. I've always used floats for health and stamina that went from 0 to 1
thanks!
Thank you, and yep, I find it to be a much easier way of doing things. Glad you learned a new helpful trick :)
@@MattAspland Yes! Because now I can just set the health to something more normal like 100 or more
Yeah definitely, much easier for you :)
Can anyone tell me how he brought the get strength integer in the blueprint menu please...I am using unreal engine 5..
that was really helpful thanks :)
That's great, no worries :)
You Are The BEST
Very high praise! It's my pleasure to help out! :D
You saved my life.
Could you do a video on making a progress bar when interacting with an object? Like 'hold E to build barrier' and then there is a progress bar that visualizes the 2-3 seconds you have to hold E to build said barrier. I can't find a tutorial for something like that anywhere!
Yeah that's a great idea! I can look into that :)
I followed everything from last vid and this vid, except instead of stamina it was for activating time dilation. Everything works fine except for stopping the time dilation. The progress bar drains down to 0 anyways.
So there any way to make the widget get removed when you have max stamina?
just a YEAR late but for me it's different the return node is not green it's blue is there another way i can do this
YOU SAVE MY LIFEEEE!!
A pleasure to help! :)
Tried this but didn't work, only showed me the full stamina bar when it reached 100 but as soon as I sprint it dropped to 0. It should work ok without issues like you showed in the video, but I had to change my Stamina to Float in the Character blueprint instead of using a Convert Integer to Float node in the HUD gadget blueprint. I think it might be something with the version of UE..? I'm using 4.27 otherwise great tutorials man! I'm learning a lot!!
I am curious, is there a way to make the bar move smoothly, even though the bar is progressing in chunks like that? Sometimes in indie games I'll see like a 10th of the stamina bar or battery bar drop, but it smoothly slides to the right place on the progress bar, if that makes any sense.
I think if you use floats instead of integers this will solve it, it wont change alot as they are the same thing but integers use decimals and not whole numbers. I may not be correct here tho
How did you make that "target stamina".
I think it was done in his previous videos in this series
I followed the steps from the first video and this one, and on minutes 2:57, we have to "Get Stamina" but I cant find Stamina when I type in "Get Stamina"
open context sensetive
watch the sprinting video that he gave credit
Hey I didnt understand at which point you are calling the Get Percent function? Did i miss somthing? --Sorry was too fast to complain, I found it , its because its created out of the Binding Button on the details of the progress bar
When I run my bar does not drain I have a print string so I know it’s draining but the bar is not moving
Can anyone tell me how he brought the get strength integer in the blueprint menu please...I am using unreal engine 5..
some things dont work in ue5 because its basically a different engine entirely
Ok, this was cool, but why did you use the Level Blueprint instead of the player character? I'm confused. No one explains the level blueprint or the GameMode or GameStates, and why you'd want to use them and how.
How can you make the bar disappear when it gets full
Please make a tutorial
How to make a loading screen with loading bar?
How do I do this on First Person?
im lost when u suddenly put get stamina variable
me 2
hi matt here is ur subscriber can i request for toturial how to make character walk on tight places in unreal? i'm so glad if u want to make it!
Please make a tutorial on shop system!! (with save game & Inventory)
I could definitely look into that :)
@@MattAspland Thanks broo😍🤩🤩
no problem :)
Are you don't want to make that?
I'm Waiting For Your Video ☺️
Hi, I'm very bust sorry, I plan on doing that at some point yeah, sorry if there is a delay on it :)
Not first this time :(
Still within 10 minutes though so you're quick, thank you for supporting :)
How did you get stamina
Like I said at the start of the video. I made it in a previous tutorial. I'll link it below.
Sprinting And Stamina: ua-cam.com/video/cUAvmje9Pyg/v-deo.html
@@MattAspland I got it thankkss
That's great!
You know maybe what to do to see the stamina bar on many levels?
If you create the widget in the player blueprint or game mode blueprint instead of the level blueprint, this should work for you.
@@MattAspland yes this work but
let's take situations where I have 40% battery or stamina and im load next lvl and I have max again and I would like to have 40% (sry for bad english)
@@resset3841 It should still save these variables when changing levels. Does it not do this for you?
@@MattAspland
unfortunately it does not save changes when changing levels
I followed everything on last video and this one, and my stamina bar doesn't move... at all...
Did you ever manage to fix this as Mine does not work at all.
@@narrgamedesigner2747 Yes I did, the way I fixe it was that by mistake I Clicked on Create under Appearance instead of Progress, if you want your stamina bar to work you must ckick create under progress