A place to have fun with Mugen
 
PortalHomeFAQMemberlistSearchRegisterComic WIP TrackerDownloadsLog inChat
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» MVC INFINITE STAGE PACK
by mazemerald Today at 11:27 pm

» Happy Birthday to *** Angelus Silverhead ***
by Adminbot Today at 11:02 pm

» Let's make your own meaning of "M.U.G.E.N"!
by volzzilla Today at 10:50 pm

» Marvel vs. Capcom: Infinite general discussion topic
by volzzilla Today at 10:49 pm

» Walking Dead TV talk
by volzzilla Today at 10:47 pm

» Spam Game: Word Association Game
by TheRedBeast Today at 10:06 pm

Special Features at MMV








Share | 
 

 recreating MVC2's offscreen run

View previous topic View next topic Go down 
AuthorMessage
Mega_Man



Posts : 99
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
borewood2013



Posts : 3165
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: