08-30-2011, 05:58 PM
I want to make one of my characters taunt when they stand for a while. I checked the 'Raymon' example on LFE.
My problem is why doesn't the itrkind8 hit?
Here's the codes:
Character:
Ball:
I really don't understand how the ball doesn't hit. Can someone explain.
My problem is why doesn't the itrkind8 hit?
Here's the codes:
Character:
Code:
<frame> 0 standing
pic: 0 state: 0 wait: 5 next: 1 dvx: 0 dvy: 0 centerx: 72 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 hit_Da: 240
bdy:
kind: 0 x: 54 y: 79 w: 33 h: 80
bdy_end:
<frame_end>
<frame> 1 standing
pic: 1 state: 0 wait: 5 next: 2 dvx: 0 dvy: 0 centerx: 72 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 hit_Da: 240
bdy:
kind: 0 x: 54 y: 79 w: 33 h: 80
bdy_end:
opoint:
kind: 1 x: 72 y: 159 action: 200 dvx: 0 dvy: 0 oid: 208 facing: 0
opoint_end:
<frame_end>
<frame> 2 standing
pic: 2 state: 0 wait: 5 next: 3 dvx: 0 dvy: 0 centerx: 72 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 hit_Da: 240
bdy:
kind: 0 x: 54 y: 79 w: 33 h: 80
bdy_end:
bdy:
kind: 0 x: 35 y: 1079 w: 10 h: 10
bdy_end:
itr:
kind: 8 x: 72 y: 2543 w: 5 h: 5 dvx: 240 injury: 0
itr_end:
<frame_end>
<frame> 3 standing
pic: 0 state: 0 wait: 5 next: 4 dvx: 0 dvy: 0 centerx: 72 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 hit_Da: 240
bdy:
kind: 0 x: 54 y: 79 w: 33 h: 80
bdy_end:
bdy:
kind: 0 x: 35 y: 1079 w: 10 h: 10
bdy_end:
itr:
kind: 8 x: 72 y: 2543 w: 5 h: 5 dvx: 240 injury: 0
itr_end:
<frame_end>
<frame> 4 standing
pic: 1 state: 0 wait: 5 next: 2 dvx: 0 dvy: 0 centerx: 72 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 hit_Da: 240
bdy:
kind: 0 x: 54 y: 79 w: 33 h: 80
bdy_end:
bdy:
kind: 0 x: 35 y: 1079 w: 10 h: 10
bdy_end:
itr:
kind: 8 x: 72 y: 2543 w: 5 h: 5 dvx: 240 injury: 0
itr_end:
<frame_end>
<frame> 398 Ray Ball
pic: 1 state: 0 wait: 5 next: 2 dvx: 0 dvy: 0 centerx: 72 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 hit_Da: 240
bdy:
kind: 0 x: 72 y: 2543 w: 5 h: 5
bdy_end:
<frame_end>
Code:
<frame> 200 Ball
pic: 999 state: 3000 wait: 30 next: 201 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 201 Ball
pic: 999 state: 3000 wait: 1 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 8 x: 35 y: 1079 w: 10 h: 10 dvx: 202 injury: 0
itr_end:
<frame_end>
<frame> 202 Ball
pic: 999 state: 3000 wait: 30 next: 203 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 203 Ball
pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 0 centery: 0 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 0 y: 0 action: 398 dvx: 0 dvy: 0 oid: 5 facing: 0
opoint_end:
<frame_end>
I really don't understand how the ball doesn't hit. Can someone explain.