Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Jump spin attack
#11
My attack:
1. While jumping i press jump again
2. He starts to spin around with his axes (he use axes) around and hurting enemies until he touch the ground

But when i put in my code he:
1. freeze for a while
2. Then appear about 10 pixels further and on the ground

I think that spinning code is broken but i can't find bug. ;/
Pleas help me. Thanks
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:
#12
Well, you have a dvy: 550 in every frame except the last one which means he won't be affected by gravity. And in the last frame the dvy: 75 makes him go down very very fast( and the dvx: 25 makes him go forward at the same time)
Reply
Thanks given by: Divisor , Hax0r
#13
I repair code (Thanks) but when my char land he go to fame that dont exist ( you know no image no bdy go to other fame when attack or move)

    DC-Code:
<frame> 324 circle
   pic: 58  state: 3  wait: 0  next: 325  dvx: 10  dvy: -10  dvz: 0  centerx: 55  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 54  y: 50  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 0  x: 0  y: 0  w: 110  h: 110  dvx: 23  dvy: 8  fall: 1  vrest: 5  bdefend: 60  injury: 16 zwidth: 10
      effect: 1  
   itr_end:
   itr:
      kind: 0  x: 60  y: 8  w: 14  h: 70  dvx: 12  fall: 1  vrest: 5  bdefend: 16  injury: 30  
      effect: 4  
   itr_end:
<frame_end>
 
<frame> 325 circle
   pic: 59  state: 3  wait: 0  next: 326  dvx: 0  dvy: 0  dvz: 0  centerx: 55  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 54  y: 50  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 0  x: 60  y: 8  w: 14  h: 70  dvx: 12  fall: 1  vrest: 5  bdefend: 16  injury: 30  
      effect: 4  
   itr_end:
   itr:
      kind: 0  x: 0  y: 0  w: 110  h: 110  dvx: 23  dvy: 8  fall: 1  vrest: 5  bdefend: 60  injury: 16   zwidth: 10
      effect: 1  
   itr_end:
<frame_end>
 
 
<frame> 326 circle
   pic: 58  state: 100  wait: 0  next: 327  dvx: 0  dvy: 0  dvz: 0  centerx: 55  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 54  y: 50  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 0  x: 60  y: 8  w: 14  h: 70  dvx: 12  fall: 1  vrest: 5  bdefend: 16  injury: 30  
      effect: 4  
   itr_end:
<frame_end>
 
<frame> 327 circle
   pic: 59  state: 100  wait: 0  next: 328  dvx: 0  dvy: 0  dvz: 0  centerx: 55  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 54  y: 50  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 0  x: 0  y: 0  w: 110  h: 110  dvx: 23  dvy: 8  fall: 1  vrest: 5  bdefend: 60  injury: 16   zwidth: 10
      effect: 1  
   itr_end:
   itr:
      kind: 0  x: 60  y: 8  w: 14  h: 70  dvx: 12  fall: 1  vrest: 5  bdefend: 16  injury: 30  
      effect: 4  
   itr_end:
<frame_end>
 
<frame> 328 circle
   pic: 58  state: 100  wait: 0  next: 329  dvx: 0  dvy: 0  dvz: 0  centerx: 55  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 110  h: 110  dvx: 15  dvy: 8  fall: 70  vrest: 5  bdefend: 60  injury: 16   zwidth: 10
      effect: 1  
   itr_end:
   wpoint:
      kind: 1  x: 54  y: 50  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 0  x: 60  y: 8  w: 14  h: 70  dvx: 12  fall: 1  vrest: 5  bdefend: 16  injury: 30  
      effect: 4  
   itr_end:
<frame_end>
 
<frame> 329 circle
   pic: 59  state: 100  wait: 0  next: 330  dvx: 0  dvy: 0  dvz: 0  centerx: 55  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 54  y: 50  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 0  x: 60  y: 8  w: 14  h: 70  dvx: 12  fall: 1  vrest: 5  bdefend: 16  injury: 30  
      effect: 4  
   itr_end:
   itr:
      kind: 0  x: 0  y: 0  w: 110  h: 110  dvx: 23  dvy: 8  fall: 1  vrest: 5  bdefend: 60  injury: 16  zwidth: 10 
      effect: 1  
   itr_end:
<frame_end>
 
<frame> 330 circle
   pic: 58  state: 100  wait: 0  next: 326  dvx: 0  dvy: 0  dvz: 0  centerx: 55  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 54  y: 50  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 0  x: 0  y: 0  w: 110  h: 110  dvx: 23  dvy: 8  fall: 1  vrest: 5  bdefend: 60  injury: 16 zwidth: 10  
      effect: 1  
   itr_end:
   itr:
      kind: 0  x: 60  y: 8  w: 14  h: 70  dvx: 12  fall: 1  vrest: 5  bdefend: 16  injury: 30  
      effect: 4  
   itr_end:
<frame_end>
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:
#14
http://www.lf-empire.de/lfev9/en/lf2-emp...s?start=21
use a normal state instead of state : 100 & change it to state:3

or copy frame 215 and number it as 94. Either way both ways work the same.
Reply
Thanks given by: Hax0r
#15
Thanks everyone problems solved! ;]
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)