Hi,
I need to make progressbar of custom shape, how to do this? (bec normally, i make progressbar, by scaling frame)
You could use a sprite sheet and iterate through the images to make a animation.
This could help you:
No, i dont want circular progressbar, i need classic progress (hp) bar, but not as rectangle, but as custom shape
What shape are you looking for?
You could achieve that effect by using Clip Descendants in the frame property.
Basically what you do is you have a imagelabel as the desired shape, then you have just a frame inside which is the bar, in this case you might want it green.
Then you turn Clip Descendants on in the image label. And it should clip out the square and fit it into the shape. I believe you have to make the ZIndex higher on the frame.
Then you just use :TweenSize or whatever.
I have not tested it, so it might be incorrect.
and when i need, to render damage by gray, do i need to create another imege and put it under it?
What do you mean? Could you explain it in another way.
I need to make empty part of progress bar grey, do i need to make another image for it?
Just edit the ImageLabel’s Color to grey or whatever you have as the shape.
If you need a specific tutorial on how to do this, refer to the following post:
Essentially what you’re doing is placing two of the same shape layered over top of each other, but one is in a frame that clips the topmost image to give it the impression of decrease.
Wait can you show your explorer for what it looks like? It didn’t work for me when I tried
Ok nevermind I figured it out You basically need two of the same image but one of them gets clipped by being a child of a frame with ClipsDescendants enabled. The frame needs higher ZIndex as well. It uses the exact same method as this: Rounded Loading Bar - #2 by Elttob