News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

problem punching

Started by jaypower, April 09, 2009, 08:48:20 PM

Previous topic - Next topic

jaypower

hey im kinda new so here it goes

i have a prob with the char im trying to make when he punches he moves forward while punching and doesnt appear back on the same spot (moves a lil bit forward) but when i do it in mugen he flicks back to original is it possible to for mugen to make his punch work

XGargoyle

1. use punctuation, please.
2. Sprites must be correctly aligned.
3. Check the vel and pos parameters in your punch statedef. See if there's something weird there


XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!

Cyanide

By the sounds of it if he's flicking back, you've actually made the movement in the animation itself. Animate him as if he's standing in one place and make use of velset or posadd to move him forwards.

Alternatively you can make use of posadd right at the end of the animation to move him forward to where his feet are.

posadd velset
Click!


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.

jaypower

no u dont understand im the game im ripping sprites from when he does a fierce punch he moves a lil to the right and example

starts here                                               x

when he does the move finishes here               x   

but in mugen he jumps back to the start and it looks all wrong

play ki2 with jago and press fierce punch if u dnt understand

he doesnt return to the starting place

XGargoyle

As both Cyanide and yours truly have previously said, you must put your axis on the sprites as if the character was always in the same spot, and then via code, you make the sprites advance with either posadd or velset


XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!

jaypower

u not f***n listening all his sprites are in the same spot but he moves forward when he does the punch thats the animation but he skips back to starting point and i want him to be able to stay wherer the punch ends

Byakko

Hey, why don't you actually read what they're telling you to do ? USE A FUCKING POSADD. And keep the axis centered on his feet. In the sff, his feet should not move away from the axis.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

Cyanide

If in the sff your animation is MOVING then you're doing it WRONG.

The only MOVEMENT you should get is from your code in the CNS.

If you want help, especially when we've given you the right fucking answer you should not be coming back rudely.

There is only 1 reason a character would "snap back" and it's because you've got the movement in the .sff file. I doubt you've based it on something that ends the attack with a negative posadd so we're right. Go try it.


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.

Bastard Mami

there is the posibility that the sff is ok but the air file is still broken.