Post

made a cool split effect for the health bar 😼 ...also added some aim assist! #gamedev #indiedev #bevy #rustlang #screenshotsaturday

4 reposts22 likes

if you're wondering how i made this... the UI node is actually larger than the texture. then a frag shader checks which side of a 15° line the pixel is, and then samples the original texture from the displaced position. there is also a quick flash at the start and a fade out at the end