Mirage Source
Graphical HP Bar - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49)
+---- Thread: Graphical HP Bar (/showthread.php?tid=734)



Graphical HP Bar - Anthony - 12-02-2007

I am wondering if anybody can give me an idea of how to create a graphical hp bar? Like, loading a bit of a gradient and continuing it and removing some when your HP goes down. Thanks Smile.


- William - 12-02-2007

Use a picture box for it.


- Obsidian - 12-02-2007

Yep... just do what will said. Make your gradient or whatever and put a picBox on the screen... then just adjust the picboxes later based on hp. I think that Konfuze had something similar to it... only they used the "Shapes", same thing though.


- William - 12-02-2007

Just load the picture into the picBox. Or did you want it all to be green in the begining, and when you have only 50% hp left, its all yellow etc..


- Anthony - 13-02-2007

Ah, thats so simple haha, I could have thought of that :p. Thanks.


- Fabzy - 03-04-2007

i know thsi topic is old but i need help with this.

I kno whwo to make a picture box etc but how do i make it go down when my hp does ?


- William - 03-04-2007

There is a tutorial for it in the Feature board.