Close Mark all as read
Notifications Announcements

Total posts


So I made a health bar and displayed it with its 'Health' flag. The total value is 10. However, the health bar doesn't deplete until it reaches 5, in which it will deplete in half. Then, it completely depletes to nothing even though the value could be 1, 2, or 3. When the value is 6, 7, 8, and 9, the health bar is FULL. I've tried everything--- i resized the image/bar i'm using, displayed that bar on screen with a 1:1 ratio (full sized) but the health gauge just doesn't deplete in a more... accurate manner. It is as if the bar is behaving like the green bar is 10x times bigger than it actually is. What do i do? I'm stressed lmao

NEVERMIND. I solved it. My health bar now properly depletes when the value is 9, 8, 7, etc. Turns out i had to crop out the sides of the bar because it will behave as if the entire screen outside of that bar also counts as the bar. Basically, the more the bar fits the entire screen, the better your bar will integrate with the flag. I didn't knew that so that's why the problem occurred. Sharing this for anyone else with the same error.