YesNoOk
avatar

Undocumented MUGEN features - zoom SCTRL in 1.1b (Read 84360 times)

Started by Jesuszilla, August 28, 2014, 12:09:46 am
Share this topic:
Undocumented MUGEN features - zoom SCTRL in 1.1b
#1  August 28, 2014, 12:09:46 am
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
List any undocumented features one may find in 1.0 0r 1.1 in this thread

Apparently there is an undocumented Zoom SCTRL in 1.1b.

Code:
[State 0]
type = Zoom
scale = value
pos = x, y

Parameters:
  • scale - The value by which to zoom in. A value of 1.0 or greater is required. A value of 2 will double the scale of all sprites.
  • pos - The position on screen to bind the zoom, relative to the center of the screen. A value of Pos X, Pos Y will zoom in on P1.
  • lag - Unknown; all it appears to do right now is break the SCTRL entirely.


Not sure what other parameters there are. Postype does not appear to do anything, which makes sense since they're deprecating it. This post will be edited as more information is found.

HUGE thanks to Websta for finding this!
Last Edit: August 31, 2014, 07:45:36 am by Jesuszilla
Re: Undocumented zoom SCTRL in 1.1b
#2  August 28, 2014, 12:37:54 am
  • avatar
  • ******
    • USA
DUDLEY'S DRAMATIC BULGE ZOOM DURING SUPERS IS NOW POSSIBLE, THANK YOU WEBSTA FOR GIVING US A BULGE ZOOMING SCTRL.
Re: Undocumented zoom SCTRL in 1.1b
#3  August 28, 2014, 12:41:57 am
  • *****
  • EL FUCKO GRANDE
  • I'm back, nerds
    • Canada
Re: Undocumented zoom SCTRL in 1.1b
#4  August 28, 2014, 12:42:38 am
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
Looks like it, though I have not seen that yet.
Re: Undocumented zoom SCTRL in 1.1b
#5  August 28, 2014, 12:45:45 am
  • avatar
  • ******
    • USA
Re: Undocumented zoom SCTRL in 1.1b
#6  August 28, 2014, 12:46:21 am
  • ******
  • Portrait Prodigy EX+
    • mugenguild.com/forum/topics/saikoros-high-resolution-mugen-portraits-fatal-fury-full-set-145724.0.html
So this is character specific?? Awesome.

Yea, I'm coding illiterate but I'd love to learn. This is certainly a cool find. ;D
All of your Mugen Portrait needs may be found HERE.

I'd like to report two robots on the MFG forums: One is EXShadow. The other is Saikoro.
There should be a Saikoro plugin for Photoshop.
Re: Undocumented zoom SCTRL in 1.1b
#7  August 28, 2014, 12:47:13 am
  • *****
  • EL FUCKO GRANDE
  • I'm back, nerds
    • Canada
That dude found that a year ago and nobody posted about it here? Why is this place still called mugen fighters guild?? Did you know about that sctrl the whole time? o_0
Yeah, but I figured everyone knew about it or something. I wondered since I saw that back then and figured "huh, maybe it's old news."

Whatever, the more folks know about this, the better. Leaves room for some absolutely crazy stuff!
Re: Undocumented zoom SCTRL in 1.1b
#8  August 28, 2014, 12:48:18 am
  • avatar
  • ******
    • USA
Shwa, I'm going to fucking kill you.
Re: Undocumented zoom SCTRL in 1.1b
New #9  August 28, 2014, 12:49:00 am
  • *****
  • EL FUCKO GRANDE
  • I'm back, nerds
    • Canada
 chill
Last Edit: August 03, 2023, 02:00:15 pm by Odb718
Re: Undocumented zoom SCTRL in 1.1b
#10  August 28, 2014, 12:50:33 am
  • avatar
  • ******
So this is character specific?? Awesome.

Yea, I'm coding illiterate but I'd love to learn. This is certainly a cool find. ;D
Judging by the screenshot in the Japanese blog, it zooms everything (except the screenpack - the bars, portraits and timer), but it's triggered in the character's code. Dunno what it does when both characters use a zoom at the same time. Also lol the afterimage after the zoom has ended stays zoomed.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: Undocumented zoom SCTRL in 1.1b
#11  August 28, 2014, 12:52:03 am
  • ******
  • 日本は素晴らしい国です。
Dude, posting about it, even if there might be some other thread about it would have been cool.
No one ever went "oh no, two posts trying to help people find out more undocumented stuff"
Re: Undocumented zoom SCTRL in 1.1b
#12  August 28, 2014, 02:01:44 am
  • ******
    • www.justnopoint.com/
We need a stickied thread for things like this actually!
This is also news worthy IMO
Re: Undocumented zoom SCTRL in 1.1b
#13  August 28, 2014, 02:04:03 am
  • ******
  • If you’re gonna reach for a star...
  • reach for the lowest one you can.
    • USA
    • network.mugenguild.com/jmorphman
Re: Undocumented zoom SCTRL in 1.1b
#14  August 28, 2014, 02:06:48 am
  • avatar
  • ******
    • USA
Yeah, that's why I plan to only use it for winposes for the current game I'm working on. Which reminds me, what software should I use convert raw avi files into those cool webm videos? :P

I can't find the purpose of the lag parameter. Anything higher than 0 disables my zoom completely.
Re: Undocumented zoom SCTRL in 1.1b
#15  August 28, 2014, 02:11:17 am
  • ******
  • If you’re gonna reach for a star...
  • reach for the lowest one you can.
    • USA
    • network.mugenguild.com/jmorphman
ffmpeg is pretty easy to use and lightweight
Re: Undocumented zoom SCTRL in 1.1b
#16  August 28, 2014, 02:28:54 am
  • avatar
  • ******
    • USA
I found another graphical glitch. This sctrl doesn't seem to interact very well with explods in the background. It will displace them and ruin the position of explods.

This guy with the white shirt is coded as an explod with mugen 1.1 parameter (So it doesn't use deprecated postypes) with pos=0,0 (The sprite itself doesn't have the axis at the center of it though) and it's bind to a helper with postype=left and pos=160,23 (Center of screen, ground level).
Spoiler, click to toggle visibilty

Stage zooming doesn't have this glitch.
Re: Undocumented zoom SCTRL in 1.1b
#17  August 29, 2014, 01:53:08 pm
  • **
  • NvP!
WHAT?! SERIOUSLY...
Dude i've been using this kind of thing but CUSTOM coded omg now i feel like i wasted so much time .___.
Anyways thanks for letting us know !

Btw i just tested the code and it's actually not changing the camerazoom parameter ?
check it yourselves

Spoiler, click to toggle visibilty
Last Edit: August 29, 2014, 02:09:32 pm by Blackscale299
Re: Undocumented zoom SCTRL in 1.1b
#18  August 29, 2014, 10:30:04 pm
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
Well it is undocumented, so that's probably one of the reasons.
Re: Undocumented zoom SCTRL in 1.1b
#19  August 29, 2014, 11:08:56 pm
  • avatar
  • ******
    • USA
Btw i just tested the code and it's actually not changing the camerazoom parameter ?
check it yourselves

Spoiler, click to toggle visibilty

I think I know why. This zoom is not the same one as the stage zoom. It closes the camera to a certain bindpoint but it will never force the camera to scroll at all. This is merely just an amplification of a certain spot of the screen. It doesn't interact with the stage camera parameters at all.
Re: Undocumented MUGEN features - zoom SCTRL in 1.1b
#20  August 30, 2014, 12:44:26 am
  • **
  • A foosball to the face!
    • USA
    • fretterg@gmail.com
This would actually be quite interesting, if it gets added into MUGEN on the next update.

I know GM actually made his version of camera zooming for his SF3 characters, but it takes up several variables, and it doesn't affect the actual stage, and, instead, affects the players, projectiles, and helpers only.