D0omspire
(doomspire)
December 8, 2023, 6:15pm
#1
I am working on a game with a Lantern & Oil based system. The oil slowly drains out while having the lantern equipped.
I want to make the bar look more stylized instead of a rectangle
I want to the edges of my rectangle to be triangular instead of blocky at the end.
I tried creating something in photopea (like photoshop) but ClipDescendants didn’t work.
The fill bar just protrudes and then cuts off from the image.
How do games pull off this UI?
1 Like
cuberoot5
(lohak)
December 8, 2023, 6:29pm
#2
Upload a custom image of the shape you want, and then use a UIGradient with a TransparencySequence, and change the offset from there.
Here’s an example:
4 Likes
If you utilize 9-slice on images, you can create this effect.
https://create.roblox.com/docs/ui/9-slice
system
(system)
Closed
December 22, 2023, 7:10pm
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.