peekay Posted March 7, 2011 Author Share Posted March 7, 2011 Ok so im playing around with the interface trying to get it to my liking.Ive gone to use vertical bars calculating the amount left by the height… same as the width does.As VB6 takes height from the bottom im stuck with this.. as u can see with hpany suggestions frmMain.imgHPBar.height = ((GetPlayerVital(MyIndex, Vitals.HP) / HPBar_Height) / (GetPlayerMaxVital(MyIndex, Vitals.HP) / HPBar_Height)) * HPBar_Heightproducing the below picture![](http://i53.tinypic.com/15xmufm.jpg) Link to comment Share on other sites More sharing options...
peekay Posted March 7, 2011 Author Share Posted March 7, 2011 seems theres no simple way to rotate images in vb6? Link to comment Share on other sites More sharing options...
VitinhooxD Posted March 7, 2011 Share Posted March 7, 2011 EDIT : Just realized what you wanted.Sorry i could not help , i totally misunderstood. Link to comment Share on other sites More sharing options...
peekay Posted March 7, 2011 Author Share Posted March 7, 2011 thats just turning it back horizontal….the problem is that the HP depletes fromt he bottom up when it should be top to bottomI need to rotate the image after it calculates it somehow Link to comment Share on other sites More sharing options...
VitinhooxD Posted March 7, 2011 Share Posted March 7, 2011 @peekay:> thats just turning it back horizontal….> the problem is that the HP depletes fromt he bottom up when it should be top to bottom> I need to rotate the image after it calculates it somehowI just realized that. Link to comment Share on other sites More sharing options...
peekay Posted March 8, 2011 Author Share Posted March 8, 2011 i suppose i can just use a black circle and have the height increase when you lose vitalsunless anyone has a solution xD 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