YesNoOk
avatar

Converting values for 1280, 720 Localcoord (Read 2055 times)

Started by Sir Ghostler, January 05, 2017, 12:09:22 am
Share this topic:
Converting values for 1280, 720 Localcoord
#1  January 05, 2017, 12:09:22 am
  • ***
  • Working on MUGEN characters, 24/7.
    • Australia
So say I'm creating a widescreen character who has a Localcoord of 1280, 720. If I wanted to take some random velocity/value from a character made for 320, 240 Localcoord, or one that wasn't build with a Localcoord at all, how much would I have to multiply the value so that it is accurate for the 1280, 720 setting?

If there's like a full explanation on all the possible multiplications from one Localcoord to the other, that would be even better. Thanks.
Re: Converting values for 1280, 720 Localcoord
#2  January 05, 2017, 12:46:58 am
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
1. Localcoord is garbage, don't use it. Use the scale factors and manually scale your velocities, posadds, and effect offsets. The reason I say this is because localcoord totally ignores the y coordinate.
2. dest/src

So if your native resolution is 384x224 for instance, and you wanted to go to 320x240, then you'd scale velocities on X by 320.0/384.0 (the .0 is important) or .83333333, and for y, 240.0/224.0 or 1.071428571.
Last Edit: January 05, 2017, 12:50:09 am by Jesuszilla
Re: Converting values for 1280, 720 Localcoord
#3  January 05, 2017, 02:02:48 am
  • ****
  • play more SNK games
  • I FUCKING LOVE PLATINUM!
    • South Africa
    • www.trinitymugen.net/
1. Localcoord is garbage, don't use it.

you should definitely use localcoord on high res characters. i fucked up initially when i too thought it was shit and have been regretting it ever since.

also according to mugen:

const720p(1)=0.328125

so basically any normal value you get in mugen, multiply it with 0.328125 and that'll give you the 720p equivalent. i think it was multiply by 3 or something, fukkit just wing it until it works

yet again, be sure to set the localcoord of a 720p character to 1280,720. dat shit'll save you alot of drama in the long run
Last Edit: January 05, 2017, 02:08:02 am by Websta
Re: Converting values for 1280, 720 Localcoord
#4  January 05, 2017, 02:14:38 am
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
It doesn't even scale the Y axis correctly, dude.
Re: Converting values for 1280, 720 Localcoord
#5  January 05, 2017, 02:16:32 am
  • ****
  • play more SNK games
  • I FUCKING LOVE PLATINUM!
    • South Africa
    • www.trinitymugen.net/
bruh, trust me. using localcoord is da rite thang 2 duu