OmegaZero Lv 1
Nº de Posteos : 9 Fecha de inscripción : 2011-03-15
| Subject: Ayuda con un ataque Wed May 25, 2011 12:07 am | |
| Ya me las he arreglado con el codigo, pero aun no logro que salgan rayos del otro lado Por favor, ayudenme ;------------------------------------------------------------------- [Statedef 3220] type = S physics = S movetype = A anim = 3100 sprpriority = 1 ctrl = 0 [State 800, 0] type = PowerAdd trigger1 = time = 2 value = -2000 [State 190, 0] type = VarSet trigger1 = time = 0 v = 11 value = 0 [State 5120, 4] type = PlaySnd trigger1 = time = 0 value = 3220,0 [State 190, 1] type = Explod trigger1 = time = 0 anim = 3410 sprpriority = 2 postype = p1 pos = 10,0 [State 1200,***] type = helper trigger1 = time = 10 id = 3220 pos = 10,0 postype = p1 stateno = 3221 helpertype = normal ownpal = 1 [State 1200,***] type = helper trigger1 = time = 20 id = 3220 pos = 10,0 postype = p1 stateno = 3221 helpertype = normal ownpal = 1 [State 1200,***] type = helper trigger1 = time = 30 id = 3220 pos = 10,0 postype = p1 stateno = 3221 helpertype = normal ownpal = 1 [State 1200,***] type = helper trigger1 = time = 40 id = 3220 pos = 10,0 postype = p1 stateno = 3221 helpertype = normal ownpal = 1 [State 1200,***] type = helper trigger1 = time = 50 id = 3220 pos = 10,0 postype = p1 stateno = 3221 helpertype = normal ownpal = 1 [State 1200,***] type = helper trigger1 = time = 60 id = 3220 pos = 10,0 postype = p1 stateno = 3221 helpertype = normal ownpal = 1 [State 190, 0] type = ChangeState trigger1 = Animtime = 0 value = 0 ctrl = 1 [Statedef 3221] type = A movetype = A anim = 3411 sprpriority = 2 ctrl = 0 [State 194, 0] type = AssertSpecial trigger1 = 1 flag = noshadow [State 190, 0] type = VelSet trigger1 = Anim = 3411 x = 0 y = -10 [State 190, 0] type = Hitdef trigger1 = 1 attr = A, SP givepower = 100,100 animtype = Hard damage = 100,35 hitflag = MA guardflag = MA pausetime = 1,10 sparkno = s70 guard.sparkno = s90 sparkxy = 40,-30 hitsound = s0,3 guardsound = s0,4 air.juggle = 1 ground.type = Low ground.slidetime = 4 ground.hittime = 2 ground.velocity = -3.0, -4 air.velocity = -3.3,-4 fall.yvelocity = 0 air.fall = 1 fall.recover =1 Palfx.time = 5 Palfx.add = 255,255,255 persistent = 0 ignorehitpause = 1 [State 190, 0] type = ChangeState trigger1 = Anim = 3411 trigger1 = Pos y < -155 value = 3222 [State 1201,end] type = Destroyself trigger1 = time = 30 [Statedef 3222] type = A movetype = A anim = 3412 sprpriority = 2 ctrl = 0 [State 194, 0] type = AssertSpecial trigger1 = 1 flag = noshadow [State 190, 0] type = VelSet trigger1 = Anim = 3412 x = 0 y = 0 [State 190, 0] type = ChangeAnim trigger1 = Anim = 3411 trigger1 = Pos x < -155 value = 3412 [State 190, 0] type = VelSet trigger1 = Anim = 3412 x = 0 y = 0 [State 190, 0] type = ChangeState trigger1 = Anim = 3412 trigger1 = Animtime = 0 value = 3223 [Statedef 3223] type = A movetype = A anim = 3413 sprpriority = 2 ctrl = 0 [State 1200,***] type = helper trigger1 = time = 0 id = 3223 pos = -90,0 postype = p1 stateno = 3224 helpertype = normal ownpal = 1 [State 1200,***] type = helper trigger1 = time = 10 id = 3223 pos = -90,0 postype = p1 stateno = 3224 helpertype = normal ownpal = 1 [State 1200,***] type = helper trigger1 = time = 18 id = 3223 pos = -90,0 postype = p1 stateno = 3224 helpertype = normal ownpal = 1 [State 194, 0] type = AssertSpecial trigger1 = 1 flag = noshadow [State 190, 0] type = VelSet trigger1 = Anim = 3413 x = 10 y = 0 [State 190, 0] type = Hitdef trigger1 = 1 attr = A, SP givepower = 100,100 animtype = Hard damage = 100,35 hitflag = MA guardflag = MA pausetime = 1,10 sparkno = s70 guard.sparkno = s90 sparkxy = 40,-30 hitsound = s0,3 guardsound = s0,4 air.juggle = 1 ground.type = Low ground.slidetime = 4 ground.hittime = 2 ground.velocity = -3.0, -4 air.velocity = -3.3,-4 fall.yvelocity = 0 air.fall = 1 fall.recover =1 Palfx.time = 5 Palfx.add = 255,255,255 persistent = 0 ignorehitpause = 1 [State 1201,end] type = Destroyself trigger1 = FrontEdgeBodyDist <= 0 trigger1 = Stateno = 3225 [State 190, 0] type = ChangeState trigger1 = Anim = 3413 trigger1 = FrontEdgeBodyDist <= 0 value = 3225 [Statedef 3224] type = A movetype = A anim = 3413 sprpriority = 2 ctrl = 0 [State 194, 0] type = AssertSpecial trigger1 = 1 flag = noshadow [State 190, 0] type = VelSet trigger1 = Anim = 3413 x = -10 y = 0 [State 190, 0] type = Hitdef trigger1 = 1 attr = A, SP givepower = 100,100 animtype = Hard damage = 100,35 hitflag = MA guardflag = MA pausetime = 1,10 sparkno = s70 guard.sparkno = s90 sparkxy = 40,-30 hitsound = s0,3 guardsound = s0,4 air.juggle = 1 ground.type = Low ground.slidetime = 4 ground.hittime = 2 ground.velocity = -3.0, -4 air.velocity = -3.3,-4 fall.yvelocity = 0 air.fall = 1 fall.recover =1 Palfx.time = 5 Palfx.add = 255,255,255 persistent = 0 ignorehitpause = 1 [State 1201,end] type = Destroyself trigger1 = BackEdgeBodyDist <= 0 trigger1 = Stateno = 3225 [State 190, 0] type = ChangeState trigger1 = Anim = 3413 trigger1 = BackEdgeBodyDist <= 0 value = 3225 [Statedef 3225] type = A movetype = A anim = 3412 sprpriority = 2 ctrl = 0 [State 194, 0] type = AssertSpecial trigger1 = 1 flag = noshadow [State 190, 0] type = VelSet trigger1 = Anim = 3412 x = 0 y = 0 [State 190, 0] type = ChangeState trigger1 = Anim = 3412 trigger1 = Animtime = 0 value = 3226 [Statedef 3226] type = A movetype = A anim = 3411 sprpriority = 2 ctrl = 0 [State 194, 0] type = AssertSpecial trigger1 = 1 flag = noshadow [State 190, 0] type = VelSet trigger1 = Anim = 3411 x = 0 y = 10 [State 190, 0] type = Hitdef trigger1 = 1 attr = A, SP givepower = 100,100 animtype = Hard damage = 100,35 hitflag = MA guardflag = MA pausetime = 1,10 sparkno = s70 guard.sparkno = s90 sparkxy = 40,-30 hitsound = s0,3 guardsound = s0,4 air.juggle = 1 ground.type = Low ground.slidetime = 4 ground.hittime = 2 ground.velocity = -3.0, -4 air.velocity = -3.3,-4 fall.yvelocity = 0 air.fall = 1 fall.recover =1 Palfx.time = 5 Palfx.add = 255,255,255 persistent = 0 ignorehitpause = 1 [State 1201,end] type = Destroyself trigger1 = time = 30 [State 190, 0] type = ChangeState trigger1 = Anim = 3411 trigger1 = Pos x < -5 value = 3227 [Statedef 3227] type = A movetype = A anim = 3412 sprpriority = 2 ctrl = 0 [State 194, 0] type = AssertSpecial trigger1 = 1 flag = noshadow [State 190, 0] type = VelSet trigger1 = Anim = 3412 x = 0 y = 0 [State 1201,end] type = Destroyself trigger1 = time = 30 |
|
XJonasX Lv 4
Nº de Posteos : 361 Fecha de inscripción : 2009-12-30 Edad : 29 Localización : Mexico :D
| Subject: Re: Ayuda con un ataque Sat May 28, 2011 12:49 pm | |
| bueno deducire rapido por que muy bien no entendi, el unico problema que tienes es que no hay rayos en la parte izquierda de la pantalla?
si es asi
lado derecho 0+Screenpos X
lado izquierdo 320-Screenpos X |
|