Health bar question...

EagleoneEagleone Member Posts: 97
edited November -1 in Working with GS (Mac)
I've got the health bar happening, works all good. I have the health decreasing from right to left, but... as the health bar decreases, the "bar" itself actually moves a pixel or two to the left every time it decreases. Is there any way to fix this issue so the bar is always in the same spot?

Thanks!

Comments

  • hman360hman360 Member Posts: 590
    Constrain self position x to where you want it to stay.
  • EagleoneEagleone Member Posts: 97
    Yep done that already, still moves... not sure what's up.

    FYI, I have... Constrain Attribute: self.position.x TO 28+(self.size.width)/2)
  • EagleoneEagleone Member Posts: 97
    Not sure what was up there, but suddenly it works now, didn't change a thing.

    Thanks for your input!
  • QuinnZoneStudiosQuinnZoneStudios Member Posts: 452
    Glad to see you received the Gamesald Fairy I sent over to you. She's cool like that, randomly helping us unfortunate souls, lol!

    Just be sure to send her back over to me, I could sure use her :D
Sign In or Register to comment.