Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: I.E.T. Arcade on October 08, 2016, 09:43:26 AM

Title: FALL GRAVITY
Post by: I.E.T. Arcade on October 08, 2016, 09:43:26 AM
 So far the juggle system in my project is very solid however I'd like to add some kind of juggle gravity to the characters similar to Tekken whereby the more the person is hit during a falling state the further away the opponent will travel to prevent infinite. How do I go about doing this?

Any suggestions would be greatly appreciated.

EDIT:I've found a work around  :Terry but I'm still interested on seeing how this is achieved.
Title: Re: FALL GRAVITY
Post by: Cyanide on October 09, 2016, 02:34:59 AM
A really really easy way would be making sure that you have

hitcountpersist = 1

In each attacking state. Then do something like

fall.velocity (or whatever the parameter is) = value-hitcount

So if it's the first hit, it'll be normal distance. Lets say you have 3 attacks in a chain with the values -4 -2 -3
The above would convert them to
-4 -3 -4

Pretty it's not, but it is easy.
SimplePortal 2.3.5 © 2008-2012, SimplePortal