Okey so I need help with how to make a health bar that starts out full with green color but then when I lose hp it get's smaller and smaller.
I have now that my hp is 100, and then when I get hit by a bullet from the boss it hurts me 25hp per hit, so need to make a health bar that looses 25 hp everytime I get hit by a bullet.
Necrozze
0
Light Poster
Recommended Answers
Jump to PostJust draw rectangle whose width is proportional to points.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.