Hey, I'm having an issue involving changing the width of an object in real time.
I hope this hasn't been answered elsewhere. I did my best to search around the forums.
I'm trying to implement a health bar that decreases as the variable 'health' decreases.
I set the hotspot of the health bar to the left of the sprite. The width of the sprite decreases in increments in accordance with the variable decreasing.
Everything works properly, save for the fact that as the width of the sprite approaches 0, the opacity of the sprite begins to decrease. I have checked and made sure that I have no events relating to the opacity of that health bar sprite.
Basically, it seems that opacity is linked to width change for some odd reason.
For the record, I'm using v0.99.96. (Because I'm working on an old project)
Any help, or knowledge pertaining to the subject matter, would be greatly appreciated.
Thanks in advance.