YesNoOk
avatar

Character goes under the ground (Read 1326 times)

Started by Gamerduck13, April 20, 2017, 08:28:54 pm
Share this topic:
Character goes under the ground
#1  April 20, 2017, 08:28:54 pm
  • *
  • New to mugen but first character was a hit.
    • Canada
    • theultimatebrawlmaster@gmail.com
I hope someone can solve this for me. I have a little problem with a certain character. When he is in the air and I have the coding here. He kind of falls a little bit below the ground. I don't know why. But if anyone wants to can someone please help me with this? Thanks. The coding and screenshot is here.



;---------------------------------------------------------------------------
;Drop dash (weak)
[StateDef 1040]
type = A
movetype= A
physics = N
juggle  = 1
ctrl = 0
anim = 1010

[State 1060, 1]
type = HitOverride
trigger1 = Time = 0
attr = SCA, AA, AP, AT
stateno = 1034
time = -1

 [State 170, 2]
type = VelSet
trigger1 = Time = 0
y = -4.72

[State 170, 3]
type = VelAdd
trigger1 = Time >= 0
y = .6488

[State 1100, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 7
value = S210,0
volume = 255

[State 1110, VelSet]
type = VelSet
trigger1 = pos y >= 0 && vel y >= 0
y = 0

[State 1501, 4]
type = ChangeState
Trigger1 = pos y >=0
value = 1041
ctrl = 0

16 bit Sonic all the way for creating!
Last Edit: April 20, 2017, 09:15:40 pm by Gamerduck13
Re: Character goes under the ground
#2  April 20, 2017, 08:39:32 pm
  • ****
  • Objection! Sustained!
    • Russia
    • mitia.pogorelov1@yandex.ru
Try to put posfreeze/posset in LANDING state with trigger = !time
Re: Character goes under the ground
#3  April 20, 2017, 09:16:00 pm
  • *
  • New to mugen but first character was a hit.
    • Canada
    • theultimatebrawlmaster@gmail.com
16 bit Sonic all the way for creating!