collapse

Author Topic: FALL GRAVITY  (Read 383 times)

0 Members and 1 Guest are viewing this topic.

Offline I.E.T. Arcade

  • Contributor
  • ****
  • Posts: 344
  • Country: United Kingdom gb
  • Last Login:May 15, 2020, 01:18:02 PM
FALL GRAVITY
« 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.
« Last Edit: October 08, 2016, 10:40:18 AM by S2G »



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: FALL GRAVITY
« Reply #1 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.

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

* IMT Calendar

April 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 [25] 26 27
28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal