Would you like to react to this message? Create an account in a few clicks or log in to continue.
Welcome!!! - Bienvenidos!!! - ( We hope you will get involved in the MMV Community which is dedicated to having fun with Mugen ) - Bienvenidos!!! - Welcome!!!
Subject: Resize background character in stage December 28th 2020, 5:37 pm
I know how to resize a character to fight with by changing the x and y values in the cns file but how do I resize a background character in a stage? What do I change in the Def file of the stage?
LESSARD
Posts : 2221 Join date : 2016-06-19 Age : 45 Location : In your wildest mugen Dreams
Subject: Re: Resize background character in stage December 28th 2020, 10:44 pm
Can you post an image about It.
Somm likes this post
chancethegamer
Posts : 642 Join date : 2019-12-12
Subject: Re: Resize background character in stage December 28th 2020, 10:57 pm
In the first 2 pics, I want to make the ref smaller and the stage background Flintstone characters the same size as Fred the fighter.
In the third pic, your Eddy Gordo stage isn’t working properly in my Mugen. Once I saw you responded had to throw that in there for help
MatreroG
Posts : 1739 Join date : 2014-03-09
Subject: Re: Resize background character in stage December 29th 2020, 9:46 am
If you're using MUGEN 1.1 it's easy and no loss of graphic quality. There is a new "scalestart" value that can be added to any BG to resize any sprite. It would look something like this:
Code:
[BG EXAMPLE] type = normal spriteno = 7,0 mask = 1 layerno = 0 start = 0,0 delta = 0.6,0.74 scalestart = 0.85,0.85 trans = none
This is the line you have to add to modify the sprite scale; "scalestart = 0.85,0.85" Considering that the "normal" value is 1 and correspond to the x,y strings or "width,height". By changing those numbers you can increase, decrease or stretch sprites individually within a stage. In this example reduces the size by 15%.
If you use MUGEN 1.0, you'll have more work ahead of you. In this case you will have to change the proportions of the indexed sprite outside the .def file, using some image editing program, and you will surely lose graphic quality.
I'm not very good at explaining or coding, but hope it could be useful and can do your tests.
Somm and RenatoNat.J like this post
chancethegamer
Posts : 642 Join date : 2019-12-12
Subject: Re: Resize background character in stage December 29th 2020, 11:52 am
I’m using 1.1 thanks I’ll try that! Do you also know why some of Lessard’s stages appear messed up in my Mugen? All of yours work fine.. some of his work fine but his Eddy Gordo stage appears like the screen shot in the first post
chancethegamer
Posts : 642 Join date : 2019-12-12
Subject: Re: Resize background character in stage December 29th 2020, 2:20 pm
Your scale trick worked! Now I need to get lessard’s Eddy Gordo stage to work properly
MatreroG
Posts : 1739 Join date : 2014-03-09
Subject: Re: Resize background character in stage December 30th 2020, 10:42 am
Happy to help. And surely LESSARD will be able to point out what the mistake is in the last stage.
LESSARD
Posts : 2221 Join date : 2016-06-19 Age : 45 Location : In your wildest mugen Dreams
Subject: Re: Resize background character in stage January 1st 2021, 6:26 pm
chancethegamer wrote:
I’m using 1.1 thanks I’ll try that! Do you also know why some of Lessard’s stages appear messed up in my Mugen? All of yours work fine.. some of his work fine but his Eddy Gordo stage appears like the screen shot in the first post
Im really sorry bro. This stage work perfectly in all my mugen versions in my PC and in my laptop and I cant find the reason why you copy not working. I will continue looking. Blessings