Hi! So, I'm currently editing a script by Galv (it is in their terms, I checked!) called Variable Bars. The script is pretty simple, having a graphic onscreen based on a variable, a life bar that depletes, that kind of thing.
I want to create a bar that depletes from top to bottom.
I changed the width statements to height and that alone got it working vertically, however it's depleting bottom to top, seeing as the script sets the height of the sprite, and that starts at the top. How can I reverse this? I'm hoping the question is simple enough to a javascript user to not post the script, as I don't want to share an edited script, just in case, but if more info is required, please let me know! I'd like to learn how to do this.
I want to create a bar that depletes from top to bottom.
I changed the width statements to height and that alone got it working vertically, however it's depleting bottom to top, seeing as the script sets the height of the sprite, and that starts at the top. How can I reverse this? I'm hoping the question is simple enough to a javascript user to not post the script, as I don't want to share an edited script, just in case, but if more info is required, please let me know! I'd like to learn how to do this.