Download

How can I achieve this UI effect in some games when player lose health.

Hello everyone.

I was wondering how can I achieve this kind of effect in UMG where the player or enemy gets hit and loses health, the red bar changes to the HP value instantly but there is a yellow bar shows what your HP was and it gradually matches the red bar.

7f2a00d88bdcb976d62753e9f718a9074e7a6c75.png

I don’t know if the build-in progress bar can do that or I have to build my own. If you have any suggestions I would greatly appreciate it.

I found this: [UMG Progress Bar] +100% LIFE? - UE4 AnswerHub

You could use one layer to show what you really have, then after a delay lerp the underlayer to the real value. :slight_smile:

Oh, thanks, that’s exactly what I’m looking for.