Hi Yann,
As I said, I understand the concept of the clamp function, I have no idea how to implement it.
My .capx should be here, I have never used Dropbox before, I have just set it up so I can supply my .capx
https://www.dropbox.com/s/lly5ck2zuglkiwq/HUDDemo.capx
If that doesn't work let me know and I will try to figure it out.
So, what you are looking at are actually four bars, the blue one on top is your Power bar, the little orange one is your Grenade bar, the red one to the left of that is your Bullet bar and the box in the top left corner is your Health bar. The health bar works differently from the others, as it goes upwards instead of across.
Don't worry about the Monsters doing weird things, I can sort them later, I am just worried about the bars not constraining to their parameters.
The pickups, are mostly obvious, one for each, Power, Grenade, Bullet and Health.
So if anyone want's to have a look at my .capx and let me know how, and or where I implement the clamp function I would be very thankful.
Karl