The Mugen Fighters Guild

Help => M.U.G.E.N Configuration Help => Topic started by: grabisoft on January 25, 2021, 02:59:51 am

Title: problem with portraits, local coords and size of chars !
Post by: grabisoft on January 25, 2021, 02:59:51 am
Hi so im using warzone screenpack and 99% of the time, whenever i add a new char, i have no problems whatsoever, creating a portrait to display in the select screen of characters.

Now i downloaded some new chars, name:

TOUKA from AQUAPAZZA -AQUAPLUS DREAM MATCH(Ver. 2.01)-   by CSX

and whenever i edit it to add a different 9000,1 portrait.. the portrait doesnt display in the character selection, and if i chose second player, i can see the portrait, small.  but all the rest works fine as it should, char sprites in game and char icon in grid.

(https://i.postimg.cc/QMCmXwvx/Golden-A-2021-01-24-22-50-14.png)

second player: i can see the protrait in miniature, i presume first player isnt visible because it just renders out of the screen with weird coordinates.

(https://i.postimg.cc/Dz4GpTts/Golden-A-2021-01-24-22-59-42.png)

(https://i.postimg.cc/zvCStrHp/Golden-A-2021-01-24-22-50-28.png)

So i read somewhere that i had to disable localcoord = 1280,720  to ;localcoord = 1280,720 in the def file of the character.

(https://i.postimg.cc/K8JQhxqH/123.png)

Now the portrait works fine, but everything else is broken , because the character icon in the grid and the character in the fight, plus all his other sprites look gigantic.

(https://i.postimg.cc/q7FLgQdc/Golden-A-2021-01-24-22-49-34.png)

(https://i.postimg.cc/T1MJJw1p/Golden-A-2021-01-24-22-49-53.png)

Im pretty lost how can i solve this?

Do i have to resize all sprites of the character in fighter factory? that would be a nightmare. i just want the char to have the working portrait 9000,1 like all the rest of my chars. thank you


JUST A SMALL UPDATE, i decided to give my portraits an abnormally humungous size, increasing my portrait to a 400% size with photoshop. now it does look OK, but im not sure if this is the correct way of deal with this

(https://i.postimg.cc/mrWZRWP7/Golden-A-2021-01-24-23-07-57.png)
Title: Re: problem with portraits, local coords and size of chars !
Post by: NotAGoodName on January 25, 2021, 11:25:35 am
Yes, that is the correct way to fix it.

The character is using localcoord to resize itself because it uses very high resolution sprites (as it should).  So then, the portrait also needs to be a large size.  Default localcoord for characters is 320.  640 is x2 and 1280 is x4.

Fun fact: The y value in localcoord doesn't matter and doesn't do anything.  You can put "localcoord = 384, lol" and it works.
Title: Re: problem with portraits, local coords and size of chars !
Post by: beterhans on January 27, 2021, 03:42:11 pm
HI CSX's character is a real HD 720p character not fake one.

real 720p character (1280,720) have different standard

9000,0 need to be 100x100
9000,1 need to be 480,560


try that