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

Title: SyN's Mugen Tricks (Zoom on Demand)
Post 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!!!
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: Quickfist on April 09, 2014, 03:10:58 PM
Dayum! Care to share the code?
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: ClubSyN-X-TReME on April 09, 2014, 03:46:46 PM
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.
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: DEMONKAI on April 09, 2014, 05:05:29 PM
haha i knew it was going to be exposed sooner or later in a video....
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: Quickfist on April 09, 2014, 05:56:48 PM
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.
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: volzzilla on April 09, 2014, 07:50:58 PM
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?)
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: ClubSyN-X-TReME on April 09, 2014, 07:56:32 PM
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.
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: O Ilusionista on April 09, 2014, 09:43:45 PM
hehehe nice!

Quote
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 :)

Quote
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.
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: ClubSyN-X-TReME on April 10, 2014, 12:07:18 AM
Quote
.... 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
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: O Ilusionista on April 10, 2014, 09:06:22 AM
yeah, I know. They should hire as a development support :)
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: ClubSyN-X-TReME on April 12, 2014, 10:47:22 AM
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.
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: ClubSyN-X-TReME on April 12, 2014, 10:49:49 AM
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.
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: O Ilusionista on April 16, 2014, 10:21:04 PM
but won't this break the non zoom out compatible stages?
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: ClubSyN-X-TReME on April 16, 2014, 10:26:18 PM
Nope. Not with my code added. But I did suggest that this is would be best for full games when I showcased this.
Title: Re: SyN's Mugen Tricks (Zoom on Demand)
Post by: GrayFox on April 22, 2014, 05:32:27 PM
Awesome stuff my brotha and sup man. Long time no hear from the both of us.lol
SimplePortal 2.3.5 © 2008-2012, SimplePortal