Super Jump problems...

Started by Isabel Strider, June 22, 2011, 06:37:15 AM

Previous topic - Next topic

Isabel Strider

OK... i'll apologize in advance for my unknowledge about so common issues as this, but i can't really figure it out and i would like some help... I checked the code from a wolverine but i'm working on some FULL HD characters and changed the code proportionally.... or at least i think.... it works OK around 50% of the time, and in other times... the characters just rise beyond believe in the sky, or they chage state to stand in mid air... it's very annoying, so i hope someone can help me with this.

Thanks a lot

[Statedef 9000]
type? ? = A
physics = N
velset = 0,-300
ctrl = 0

[State 9000, ChangeAnim]
type = ChangeAnim
trigger1 = Time = 0
value = ifelse((vel x)=0, 41, ifelse((vel x)>0, 42, 43))

[State 9000, PlaySnd]
type = PlaySnd
trigger1 = Time = 0
value = 0,1

[state 9000, CtrlSet]
type = CtrlSet
trigger1 = Time >= 1
value = 1

[State 9000, Afterimage]
type = AfterImage
trigger1 = Time = 0
length = 10
PalBright   =  30, 30,  30
PalContrast =  70, 70, 70
PalAdd      = 10,10,10
PalMul      = .85,.85,.80
TimeGap  = 1
FrameGap = 2
Trans = add
time = 19

[state 9000, VelSetFwd]
type = VelSet
trigger1 = command = "holdfwd"
x = 3

[state 9000, VelSetBack]
type = VelSet
trigger1 = command = "holdback"
x = -3

[state 9000, VelAdd]
type = VelAdd
trigger1 = Time > 20
x = 0
y = .40

[state 9000, End]
type = ChangeState
trigger1 = Pos Y >= 1
value = 52
ctrl
Me encontraste en un negro camino como un peregrino sin rumbo ni Fe... pero la Luz de tus Ojos Divinos cambió mi suerte por Dicha y placer.... ¡AY DOLOR YA ME VOLVISTE A DAR!

Cyanide

Quote[state 9000, VelAdd]
type = VelAdd
trigger1 = Time > 20
x = 0
y = .40
That defines fall speed. Match it with your gravity control.


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.

Isabel Strider

i changed the value and so far it seems to work fine.... Thanks!
Me encontraste en un negro camino como un peregrino sin rumbo ni Fe... pero la Luz de tus Ojos Divinos cambió mi suerte por Dicha y placer.... ¡AY DOLOR YA ME VOLVISTE A DAR!