ikemen-engine / Ikemen-GO

An open-source fighting game engine that supports MUGEN resources.
https://ikemen-engine.github.io
Other
717 stars 125 forks source link

Red life bar is drawn behind regular life #1636

Open potsmugen opened 8 months ago

potsmugen commented 8 months ago

Describe the bug

The Red Life bar is drawn behind the regular Life bar. This causes issues when someone wants to make a transparent Life bar.

I tested 0.98.2 and this bug is also there, so it's not related to the Red Life refactor from 0.99.

To Reproduce

  1. Add transparency to the Tag Life bar
  2. Play Tag with Red Life enabled

OR

Try these lifebars

Expected behavior

Only the difference between Red Life and Life should be rendered.

Screenshots / Video

As5UIYA

Right has no red life (turns mode). Left has the red life behind the green regular life, making it show up as yellow.

Engine Version (or source code date)

17/02/2024

Operating system

Windows

Extra context or search terms

No response

shinra358 commented 1 month ago

technically this really isnt a bug. some games do the difference, and some do it just like this.

potsmugen commented 1 month ago

Which games have red life visible behind life?

shinra358 commented 1 month ago

kofmi2: although the foreground life isnt transparent, at the bend of the lifebar, you can see an open few pixels that reveal the red life behind the life.

kofxiii, before updates, you use to could see the red life behind the trans life. this what 1st came to mind. new videos dont show it but I remember it at initial release.

TvC: but i cant prove that because foreground life isnt transparent but it just looks like it.

Vanilla Marvel 3: foreground life isnt transparent BUT, you can see the red life is a totally different vertical size than the foreground life.

Lastly, SFV: you can see that the transparent lifebar shows the red life through it when taking damage. The foreground green life shows the red bleeding through it