YesNoOk
avatar

How to make a KOF-style super jump? (Read 829 times)

Started by Krizalid99v2, July 10, 2011, 07:02:59 am
Share this topic:
How to make a KOF-style super jump?
#1  July 10, 2011, 07:02:59 am
  • avatar
  • **
  • You must defeat Sheng Long to stand a chance
How do I implement a KOF-style super jump for my character? You know when you quickly press Down then Up / Up-Forward / Up-Back to super jump.

I tried using DavidGee's KOF super jump code in the Code Snippets Archive, but it doesn't seem to work (yeah I probably missed something out) for me.

I also tried studying 1 or 2 KOF characters to see how it's done, but I couldn't work it out. I thought super jumps were a change of state, but it looks like it isn't.

Any guidance or example code would be most appreciated. Thanks in advance.
Fighting games with emphasis on non-regular characters:
http://www.youtube.com/krizalid99v2

GT

Re: How to make a KOF-style super jump?
New #2  July 10, 2011, 07:10:14 am
  • *****
    • USA
    • Skype - gt_ruby
You create a changestate in the CMD that activates based on the superjump command ( You also create a new jumping state).

Quote
---- For this part you may want the time to be lower----

[Command]
name = "LJump"
command = D,U
time = 15
[Command]
name = "LJump_F"
command = D,U+F
time = 15
[Command]
name = "LJump_B"
command = D,U+B
time = 15

Quote
[State -1, Long Jump]
type = ChangeState
value = xxx
triggerall = StateType = S || StateType = C
triggerall = ctrl
trigger1 = command = "SuperJump"
;----------------------------
and for the actual jump state you need to find a way to keep track of whether or not the command was up+forward, up, or up+backward so that you can determine the proper x velocity (Negative, neutral, or positive).

For this portion I use vars but that's mainly because I have a changestate that occurs in the jump state (Which is the actual jump).

If you code the jump state without a changestate you can use an ifelse to track the x velocity ;

ifelse((command = "SuperJump_F"),5,ifelse((command = "SuperJump_B"),-5,0)

Yeah Titiln, in fact, You Made Him
Last Edit: July 10, 2011, 07:21:36 am by GT Yzan
Re: How to make a KOF-style super jump?
#3  July 10, 2011, 07:19:37 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
A neutral jump makes no difference in KoF. No afterimages or increase in velocity. You just get an increase in X vel.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.