Firstly, thank you for the help, and happy holidays to you and yours (everybody).
Here is an example of what I'm trying to do:
Although the healthbar I'm making is more complex, this mockup is the basic idea. I won't need different layers to create it, just different sprites, each representing a given state of health. I've found an example of some code that may work, provided that I change up coordinates, etc. The beginning of this video shows this guy's code solution in his GUI tab:
I just need to find a way to "trigger" a GUI, and to have my player's health sync with the triggering. In the video, the guy says he has a "data manager object" which contains player's variables, and a "GUI object" which contains different events...
How do I trigger the GUI? Hoe do I get that to sync with the health of the player? I've tried doing what he's done and it is not working.
RefresherTowel: Thanks so much. I don't know where or how to apply the code you offered. Abrexas: I read through that info and it was over my head (not sure where or how to apply that. Psyco_666: I apologize for my confusing description at the beginning of thread... I should have posted this graphic in the beginning. There is "visual segmentation," but each and all would be handled artistically in each sprite.
What thoughts do people have regarding this code in the video? I've chosen to explore it because it makes more sense to me —I'm a DragNDropper for the most part. thx