Health Bar That Gets Smaller From 1 Side Only?
Hi, I'm create a health bar, but when I try to make it smaller, it shrinks from both sides, I want it to shrink from 1 side only. Also how do I make it so that if your health grows (if you get a power) it grows from the 1 side it shrinks from. how do I do this? Thanks 
- Hunter
- Hunter
Comments
https://www.mediafire.com/?35d3nxgrcuhwnco
(Sorry about the link I don't know how to post files with my comment)
if his health gets less change width to width-20 and when he gets more health change width to width+20.
havent tried but should work. I will make a little template
@Timolapre Thanks, it seems a bit complex, a template would be great
download link: https://www.dropbox.com/s/5pb7p7w4z3darnn/health bar template.zip
Had the actor for the health bar.
Had a Rule:
when touch is pressed (just for example)
Do:
Change Attribute: self.size.width -----> self.size.width-20
Change Attribute: self.position.x -----> self.positon.x-10
Hope this helps
@SlickZero Thanks
Btw: this is about 8% got too do with my other post
- Hunter
Hope this helps!
https://www.dropbox.com/s/5fdozcypmmf7dui/Health Bar.zip