Late night, i have done this shader called Health bar or Energy bar;
Rounded by white square the energy bar recieve value from 0 to 100;
Also you can change color of the energy bar...
This can doable with C2 but here no programing required.
Live demo:
http://gigatron3k.free.fr/html5/C2/FX/hbar
fx file .rar format:
http://gigatron3k.free.fr/html5/C2/FX/healthbar.rar
*** For the first time I 'll ask you some contribution.
If you like my works or use shaders i converted please
support with donation on my website..
Thanks