A place to have fun with Mugen
PortalHomeFAQMemberlistSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Log in automatically: 
:: I forgot my password
Latest topics
» No escape from hell
by Mistah Jorge Today at 4:37 am

» Whats up have a qustio dose anybody play wwe2k18
by 2dover3d Yesterday at 8:55 pm

» Street Fighter V Arcade Edition
by 2dover3d Yesterday at 8:39 pm

» Call of Duty Nazi Zombies mugen full game released.
by crosspotts1.0 Yesterday at 7:10 pm

» Street Fighter Legacy
by crosspotts1.0 Yesterday at 6:38 pm

by SIRALEXBABY Yesterday at 6:25 pm

Special Features at MMV

Chat on MMV w/ Discord

Share | 

 recreating MVC2's offscreen run

View previous topic View next topic Go down 


Posts : 145
Join date : 2016-01-23

PostSubject: recreating MVC2's offscreen run   October 19th 2016, 9:35 am

In MVC2, after finishing a combo with a heavy punch, the camera will follow the falling opponent while the comboer is off screen, once the opponent gets up, the comboer will run towards them. I've seen some MUGEN characters do this such as Mega Man Volnutt and Juggernaut. I wanna know how to do this myself. Any ideas?
Back to top Go down
View user profile


Posts : 5428
Join date : 2014-08-11

PostSubject: Re: recreating MVC2's offscreen run   October 24th 2016, 9:01 am

I don't know much about MVC2 mugenization yet I know of some basics of "off screen camera follow" MUGEN way:

1) make a way to detect the particular hit (i.e. give a particular ID# to your HitDef and the hit x-velocity should be big enough) on your MUGEN Enemy which results in "off screen camera follow"
2) then upon that particular hit confirm (i.e. MoveHit = 1 and NumTarget(ID#)), within that particular hit Statedef, use a ScreenBound with default values to lock the screen,
3) then also within that particular hit Statedef, use ChangeState to make your MUGEN character enter its "off screen" Statedef#, based on the same hit confirm condition like BackEdgeBodyDist < -20.0 or some negative values based on your MUGEN character's Const(size.ground.back) and/or Const(size.air.back)
4) in your MUGEN character's "off screen" Statedef#, use a ScreenBound with value = 0 and movecamera = 0,1 to lock the screen again, and use a PosSet with x = -240.0 * Facing and y = 0.0, may be add a NotHitBy with value = SCA too to make sure nobody can hit you when you are sending your MUGEN Enemy off screen
5) use ChangeState to make your MUGEN character enter its "dash back in/return to screen" Statedef#, which is usually a modified version of your MUGEN character's "off screen" Statedef 100 (i.e. make a Statedef 101 with the same Statedef 100 MUGEN code), based on some conditions like when your MUGEN Enemy is not your MUGEN Target anymore, or when your MUGEN Enemy is in its own particular get-hit Statedef# (i.e. HIT_LIEDOWN state), or after a certain state time (i.e. Time > ##)
6) you may want to adjust something like special "dash back in/return to screen" effects (i.e. Explod and/or PlaySnd) in your MUGEN character's "dash back in/return to screen" Statedef#
* about the x = -240.0 * Facing........-240.0 depends on how far you want to put your MUGEN character behind visible screen back edge
* remember to add a "ignorehitpause = 1" to each involved MUGEN state controller to avoid any hit pause delay you may have put in your "off screen" hit to our MUGEN Enemy
** this is not tested but it is the basics I think, so you may want to try it out yourself first to see....or the better way is to study the actual MUGEN code of the MUGEN characters (i.e. Mega Man Volnutt and Juggernaut) which offer such MVC2 "off screen camera follow" feature in MUGEN
Back to top Go down
View user profile https://onedrive.live.com/?cid=7DB65F02B0BBD12E
recreating MVC2's offscreen run
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen :: Mugen Help-
Jump to: