dao Posted June 17, 2009 Author Share Posted June 17, 2009 id like to make player hp bars look like this:![](http://www.freemmorpgmaker.com/files/imagehost/pics/aa10b04718077176ba5ecdb5e1bf6cf8.png) Link to comment Share on other sites More sharing options...
Sowtis Posted June 17, 2009 Share Posted June 17, 2009 Which one? :PI don't know which is the original one. Haha… Link to comment Share on other sites More sharing options...
dao Posted June 17, 2009 Author Share Posted June 17, 2009 well id like to make them an image.. is what i mean Link to comment Share on other sites More sharing options...
goku1993 Posted June 18, 2009 Share Posted June 18, 2009 don t really understand what you mean,what do you mean by you want to make hp an image? Link to comment Share on other sites More sharing options...
mrmiguu Posted June 18, 2009 Share Posted June 18, 2009 The current system Eclipse uses to draw the HP bars is just a rec. filled in with a color. Change it to use an image and the fill image over it.Here's what the initial line looks like:> ' draws the back bars> Call DD_BackBuffer.SetFillColor(RGB(200, 100, 100))> Call DD_BackBuffer.DrawBox(X, y - 32, X + 32, y - 36)> > ' draws HP> Call DD_BackBuffer.SetFillColor(RGB(100, 200, 100))> Call DD_BackBuffer.DrawBox(X, y - 32, X + ((Player(Index).HP / 100) / (Player(Index).MaxHp / 100) * 32), y - 36) Link to comment Share on other sites More sharing options...
dao Posted June 18, 2009 Author Share Posted June 18, 2009 yea i know but idk what code to change it to. Link to comment Share on other sites More sharing options...
munro Posted June 18, 2009 Share Posted June 18, 2009 If you wanted to chage the colours you would change the RGB. Link to comment Share on other sites More sharing options...
dao Posted June 18, 2009 Author Share Posted June 18, 2009 no i want to change it to an image not the colors Link to comment Share on other sites More sharing options...
munro Posted June 18, 2009 Share Posted June 18, 2009 Ohhh, sorry I misunderstood. Link to comment Share on other sites More sharing options...
dao Posted June 18, 2009 Author Share Posted June 18, 2009 np anyone have any idea how to make the hp bar an image. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now