Dynamic Health Bar using Sprite Candy, How?

Blitz3D Forums/Blitz3D Programming/Dynamic Health Bar using Sprite Candy, How?

Mortiis(Posted 2008) [#1]
I'm trying to add a hud to my game using Sprite Candy.
I want to use a custom image for a health bar. I load and put
it on the screen without a problem. Problem is, if I want to
scale it dynamically, I just can't find the proper way to do
it.
I've tried percent bars and they are easy to use but allows
no custom images, just basic rectangular bars.

Any help and code example will be hugely appreciated. Thanks in advance.


Mortiis(Posted 2008) [#2]
Nevermind, I got it now.


tonyg(Posted 2008) [#3]
Do you fancy posting what you did for anybody else searching for the same question?