it got messy oh well,also why lifebar got messed up as wellIn mugen 1.1 the Lifebar is also affected by the aspect ratio.
ikemen go does not support this yet.
Neat Unsou I think that images show the problems with Elecbyte implementation.If do not change the localcoord of char, stage looks bigger than char.
so I will try to change the zoom automatically.
OK I understand.
I'll investigate how to make the lifebar scale with the ratio.
Decided to open Mugen 1.1 to check how lifebars scale.
The chars actually does not scale like that...
The lifebars and the chars scale with the stage aspect ratio.
Yes this is MUGEN set to widescreen.
Once it enters the stage it changes aspect ratio.
Not sure how to implement that.
So I was reading the options and we are currently implementing stagefit 0...
The image above is stagefit 1.
Back to work on lifeabar scale.
Hey NeatUnsou I implemented Lifebar scaling with ratio!
We already have a lifebar scale so it only need to edit the lua code.
I took about 40 minutes.
About 10 minutes implementing the scale.
About 30 minutes trying to get it centered.
The old code was:
(main.LB_Localcoord43 - main.LB_Localcoord) / 2The half of the 4:3 version of the resolution minus the full with resolution.
Makes sense... but once I implement the scaling it broke.
So the new code to center it is:
(main.LB_ScreenWidth - 320) / (main.LB_ScreenWidth / 320)I not sure why it works... I just have theories.
But I now know how to also center the screenpacks!
The Icons still does not scale...
I'll implement that tomorrow.