mugen吧 关注:79,123贴子:1,494,437
  • 5回复贴,共1

制作人物中的部分新手问题

只看楼主收藏回复

[Statedef 0]
type = S
physics = S
sprpriority = 0
[State 0, 1]
type = ChangeAnim
triggerall = roundno = 1
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5&& AnimTime = 0 ;Turn anim over
value = 0
[State 0, 5]
type = Explod
trigger1 = roundno = 2
trigger1 = anim = 2
trigger1 = time = 0
anim = 8
id = 2
sprpriority =2
postype = p1
pos = 61,-165
bindtime = -1
removetime = -1
supermove = 1
under = 0
ownpal = 1
[State 0, 12]
type = ChangeAnim
triggerall = roundno = 2
trigger1 = Anim != 2 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0 ;Turn anim over
value = 2
[State 0, 2]
type = VelSet
trigger1 = Time = 0
y = 0
[State 0, 3] ;Stop moving if low velocity or 4 ticks pass
type = VelSet
trigger1 = abs(vel x) < 2
trigger2 = Time = 4
x = 0
[State 0, 4]; PosSet + 0 Para evitar errores de posicion
type = PosSet
trigger1 = 1
y = 0
[State 0, PalFX]
type = PalFX
trigger1 = time = 0
time = 1
ignorehitpause = 1
[State 0, AfterImage]
type = AfterImage
trigger1 = time = 0
time = 1
ignorehitpause = 1
[State 0, 3] ;Stop moving if low velocity or 4 ticks pass
type = VelSet
trigger1 = abs(vel x) < Const(movement.stand.friction.threshold)
trigger2 = Time = 4
x = 0
[State 0, 5] ;Are you dead?
type = ChangeState
trigger1 = !alive
value = 5050
不知那出错 就是爆炸特效不出来


1楼2019-11-22 23:33回复
    type = Explod里写了trigger1 = roundno = 2, 导致第二回合才能出特效


    IP属地:中国台湾2楼2019-11-23 00:05
    收起回复
      anim =2?


      IP属地:四川来自Android客户端3楼2019-11-23 08:03
      回复
        type = Explod
        应该放在
        type = ChangeAnim
        后面


        4楼2019-11-23 08:46
        回复
          除了楼上那位大佬说的可能(mugen读取的顺序是从上往下,你的爆炸explod在改变动画changeanim前可能会导致explod无法生效,也可以直接去掉anim=2这个条件,大概是3楼大佬所表示的意思,但是不能保证你想要的效果,是要先爆炸?),还有一个就是pos=61,-165,没看你的动画在那个地方,如果动画在y=0,那么这个-165可能在屏幕之上,个人猜测我就是水贴的


          IP属地:重庆来自Android客户端5楼2019-11-23 14:57
          回复