Infinity MUGEN Team
IMT Discussions => M.U.G.E.N Show & Tell => Topic started by: ClubSyN-X-TReME on April 09, 2014, 02:51:11 PM
-
ClubSyN-Mugen: Custom Zoom in Trick (Zoom on Demand) (http://www.youtube.com/watch?v=nt96zuUmBdg#)
Screw Mugen's limitations, I broke another Law!!!
-
Dayum! Care to share the code?
-
I am tweaking it as of now but ill give you an idea of what I did and to be honest its best for full games anyway,
first in your stages will need the line "zoomin = 1.5" yes that will make the screen zoom in when players are coming close together which is not what we want so to prevent that, you and the enemy will need a player type helper, make both helpers find the right pos x on each side to keep the screen from zooming in when p1 and and p2 comes close together and make them come together at the right moment to create the zoom in effect when called on.
-
haha i knew it was going to be exposed sooner or later in a video....
-
I am tweaking it as of now but ill give you an idea of what I did and to be honest its best for full games anyway,
first in your stages will need the line "zoomin = 1.5" yes that will make the screen zoom in when players are coming close together which is not what we want so to prevent that, you and the enemy will need a player type helper, make both helpers find the right pos x on each side to keep the screen from zooming in when p1 and and p2 comes close together and make them come together at the right moment to create the zoom in effect when called on.
Interesting...
You should share it over at MFG, we may use it in the Street Fighter fullgame.
-
nice vid and thanx for figuring out that kind of thing and taking the steps to share.
question, in the video, did i read that it was a regular stage, not one coded only for mugen 1.1? are you saying just adding that 1 line of code to the stage will make the zooming work with mugen 1.1? i ask because one of the things keeping me from upgrading was thinking no point in doing so if none of my stages would work with the zoom function (thought i read only specifically coded stages would zoom in mugen 1.1. or is that 1 line of code the only thing needed for them?)
-
The stage was made for mugen 1.1 because of the zoom out when at the edges of the stage but any regular stage with the zoom in and my custom zoom in coding which ill share a bit later after I work the kinks out will allow your characters to do the zoom in feature during whatever and whenever you want.
-
hehehe nice!
first in your stages will need the line "zoomin = 1.5"
~
oh, its stage dependent yet. Too bad mugen can't handle this on the right way... OpenBor does it perfectly :)
i ask because one of the things keeping me from upgrading
I don't plan to update to 1.1. There are some nice things, like RGBA sprite support, but Mugen got HEAVIER and Elecbyte do prefer to care about useless things (like the half-made zoom) over to do things that we REALLY need.
-
.... and Elecbyte do prefer to care about useless things (like the half-made zoom) over to do things that we REALLY need.
And tha'ts where I come in at, Doing what elecbyte didnt. :P
-
yeah, I know. They should hire as a development support :)
-
yeah, I know. They should hire as a development support :)
LOL, yeah. But they should of really went into depth with the camera manipulation because a lot of people been asking me is this something ppl can freely paste into the common.cns of a motif and use. unfortunately it inst because it require a float var and a regular one in the root states for detection and behavior.
-
But I will say this:
When I share the code after I finalize it, (My current code performs better than whats seen on youtube), non zoom out compatible stages with this line added:
zoomin = 1.5
...will be compatible with my code.
-
but won't this break the non zoom out compatible stages?
-
Nope. Not with my code added. But I did suggest that this is would be best for full games when I showcased this.
-
Awesome stuff my brotha and sup man. Long time no hear from the both of us.lol