09-17-2009, 08:07 PM
Yo, (gangster greeting) I am trying to make a normal ball hit the ground, but it doesn't seem to work, fix it.
Just kidding :P Well, i am trying to get a ball to hit the ground, but it doesn't seem to work.
Here's the code:
I tried using MH chasing ball technique, which goes onto the ground, instead of going into mid-air. Weirdly enough, it goes on the ground then the sprite keeps going down, then the shadow chases the opponent, how can i fix this?
Just kidding :P Well, i am trying to get a ball to hit the ground, but it doesn't seem to work.
Here's the code:
Code:
<bmp_begin>
file(0-69): sprite\sys\Usopp_balls.bmp w: 79 h: 79 row: 10 col: 4
<bmp_end>
<frame> 0 ball
pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 3 centerx: 39 centery: 49 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 3
itr:
kind: 0 x: 38 y: 48 w: 1 h: 1 dvx: 0 fall: 20 vrest: 15 bdefend: 10 injury: 10 effect: 0
itr_end:
<frame_end>
<frame> 1 ball
pic: 0 state: 3000 wait: 1 next: 2 dvx: 0 dvy: 3 centerx: 39 centery: 49 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 3
itr:
kind: 0 x: 38 y: 48 w: 1 h: 1 dvx: 0 fall: 20 vrest: 15 bdefend: 10 injury: 10 effect: 0
itr_end:
<frame_end>
<frame> 2 ball
pic: 0 state: 3000 wait: 1 next: 3 dvx: 0 dvy: 3 centerx: 39 centery: 49 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 3
itr:
kind: 0 x: 38 y: 48 w: 1 h: 1 dvx: 0 fall: 20 vrest: 15 bdefend: 10 injury: 10 effect: 0
itr_end:
<frame_end>
<frame> 3 ball
pic: 0 state: 3000 wait: 1 next: 4 dvx: 0 dvy: 3 centerx: 39 centery: 49 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 3
itr:
kind: 0 x: 38 y: 48 w: 1 h: 1 dvx: 0 fall: 20 vrest: 15 bdefend: 10 injury: 10 effect: 0
itr_end:
<frame_end>
<frame> 4 ball
pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 3 centerx: 39 centery: 49 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 3
itr:
kind: 0 x: 38 y: 48 w: 1 h: 1 dvx: 0 fall: 20 vrest: 15 bdefend: 10 injury: 10 effect: 0
itr_end:
<frame_end>
<frame> 10 ball
pic: 999 state: 3001 wait: 10 next: 1000 dvx: 0 dvy: 0 centerx: 39 centery: 49 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 20 ball
pic: 999 state: 3002 wait: 10 next: 1000 dvx: 0 dvy: 0 centerx: 39 centery: 49 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\025.wav
<frame_end>
<frame> 30 ball
pic: 999 state: 3003 wait: 10 next: 1000 dvx: 0 dvy: 0 centerx: 39 centery: 49 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\025.wav
<frame_end>
<frame> 50 start
pic: 0 state: 3000 wait: 0 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 17 centery: 25 hit_Fa: 3
hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 60 ground
pic: 0 state: 3005 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 49 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\025.wav
<frame_end>
<frame> 61 ground
pic: 0 state: 3005 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 49 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 40 tail
pic: 999 state: 3005 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 19 centery: 25
hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 41 tail
pic: 999 state: 3005 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 19 centery: 25
hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 42 tail
pic: 999 state: 3005 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 19 centery: 25
hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 43 tail
pic: 999 state: 3005 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 17 centery: 25
hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 94 ball
pic: 1000 state: 3005 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 49 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\025.wav
<frame_end>
I tried using MH chasing ball technique, which goes onto the ground, instead of going into mid-air. Weirdly enough, it goes on the ground then the sprite keeps going down, then the shadow chases the opponent, how can i fix this?