Problems with air attacks

Started by Steel Komodo, May 30, 2010, 07:05:48 PM

Previous topic - Next topic

Steel Komodo

Hi, guys.

So, my problem is this: I've coded a basic air punch for a character I'm working on (secret!). Whenever I use it in testing, the character drops out of the sky like a stone. I also cannot use it during the forward and backward jumps, as most normal M.U.G.E.N characters do.

In short, I need it to work like all the other characters. Can someone help me fix this?   ???

2OS

Care to share the Statedef of this move ?

Cyanide

He doesn't need the statedef, that's just make sure physics is A and remove the line

velset = 0,0

The changestate might be important though. Normally jumping attacks aren't closed off like that unless you need special neutral jump versions.


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.

Steel Komodo

Quote from: Cyanide on May 31, 2010, 03:25:26 AM
The changestate might be important though. Normally jumping attacks aren't closed off like that unless you need special neutral jump versions.

You're right there. I've just managed to sort it out - I was missing the changestate at the end of the move.  :oops:

Anyway, thanks for the help. The character is coming along nicely, actually. I hope to post some work on him soon!  ;D