My frame is not the same shape as my Image Label this causes the health bar to leak out when their health is low
2. why?? :( - Album on Imgur
- i have tried for 2hours trying to figure this out
thank you in advance
My frame is not the same shape as my Image Label this causes the health bar to leak out when their health is low
2. why?? :( - Album on Imgur
thank you in advance
I think it’s because your black frame image is tilted, but the entire GUI image with a transparent edge on the left is still rectangular. Since it’s still a rectangle your red health bar to be drawn behind it.
you’re squashing a non-rectangular shape into a rectangle. Instead of scaling it, consider using UIGradient transparencies. I posted a solution to this problem here:
thankyou for the help i will try this , if this works your a saviour