Posted by RedDragonCats17
in MegaMan Zero Help: Fall down animation (Started by RedDragonCats17 December 12, 2021, 12:49:54 am
Board: M.U.G.E.N Development Help
Board: M.U.G.E.N Development Help
This time I want to make this new version a little more accurate to the games in terms of movement mechanics, so for this I made his fall animations separated so that the option for short hopping will be implemented (we'll get to that after this).
So here's the plan. I want to use Henry's code he provided me when I asked for help regarding the double jump animation, as you can see here:
Code:
[State 50, 2]
type = ChangeAnim
triggerall=prevstateno!=45
trigger1 = Time = 0
value = ifelse((vel x)=0, 41, ifelse((vel x)>0, 42, 43))
[State 50, 2]
type = ChangeAnim
triggerall=prevstateno=45
trigger1 = Time = 0
value = ifelse((vel x)=0, 44, ifelse ((vel x) > 0, 45, 46))
[State 50, 3]
type = ChangeAnim
trigger1 = Vel y > Const720p(-8)
trigger1 = SelfAnimExist(anim = 50 + 2)
trigger1 = anim >= 41 && anim <= 43
persistent = 0
value = Anim + 3
The double jump animations are 44, 45, and 46, while the fall animations are 50, 51, and 52. I want both the regular jump and the double jump to use one set of animations, which are 50, 51, and 52 depending on if Zero is jumping neutral, forwards, or backwards. Question is, how can I do this?