Radial lifebar

lagarto

Member
Hi guys.
Long time no see you. I’m back playing with Openbor last year.
Back to the topic, I’m looking for a way to implement a circular health bar, like Marvel Ultimate Alliance 3. I have an idea about how to implement this, but the way I’m thinking will need a lot of hard work (lots and lots of images with the healthbar ). Do we have a MOD where someone already did something like this? Thanks in advance.
 
Honestly, there are so many moving parts to this question I don't even know where to start. Most of it depends on exactly how you want your radial life bar to look. Is it a continuous tape meter? Segmented blocks?

You can do it of course, but to my knowledge no-one has released a module with radial meters you could use as an example. I thought about adding one to some projects of mine, but ultimately decided I preferred a conventional meter for design reasons.

Assuming segments, you're probably better off using a series of sprites for simplicity and having your script decide which ones to draw based on amount remaining. On the other hand, if your segments were uniform in shape, like if your meter was styled to be a radius of lighted dots, you'd only need one sprite. For a tape style, you could possibly use clipping, but the geometry could get tricky. I might even use sprites for that too, just set up with pixel increments to look like a tape. Again, it really depends on the specific design.

DC
 
Hey, thanks DC.
My first choice would be a continuous tape meter, like Marvel Ultimate Alliance, but I don’t think I could achieve this with my current knowledge.
My second choice would be using lots of sprites like you said.
Thanks again.
 
Back
Top Bottom