08-25-2009, 04:57 PM
Yo. Anyway i am coding a new luffy for a game, and i tried to make an attack which is supposed to not be able to hit opponent, but can hit the enemy's ball. For example, if you were to hit him physically, you wouldn't hurt him and he couldn't hurt you; But if a ball was to hit you the opponent's ball would reflect back. I already know how to this, i just need to add a special body. The only thing which is causing me to post this here, is because it doesn't seem to work. So i tried changing the fall to 1 to try and check if the ball was hitting the enemy but not working. Sadly nothing worked.
So i could someone tell me what i did wrong.
here's an video/animation:
![[Image: clip0083.gif]](http://img190.imageshack.us/img190/5372/clip0083.gif)
Here's the code for Luffys Gomu Gomu No Ballon:) were he opoints out the invisible ball:
And here's the ball which is invisible:
So i could someone tell me what i did wrong.
here's an video/animation:
![[Image: clip0083.gif]](http://img190.imageshack.us/img190/5372/clip0083.gif)
Here's the code for Luffys Gomu Gomu No Ballon:) were he opoints out the invisible ball:
|
DC-Code:
<frame> 287 Gum_Gum_No_Ballon pic: 65 state: 15 wait: 2 next: 288 dvx: 0 dvy: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 sound: data\OGA_1890.wav bdy: kind: 0 x: 21 y: 39 w: 29 h: 39 bdy_end: <frame_end> <frame> 288 Gum_Gum_No_Ballon pic: 128 state: 15 wait: 2 next: 289 dvx: 0 dvy: 0 centerx: 74 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 23 y: 35 w: 42 h: 43 bdy_end: itr: kind: 0 x: 0 y: 105 w: 81 h: 9999 dvx: -22 dvx: 25 dvy: 0 fall: -1 vrest: 5 bdefend: 0 injury: 15 itr_end: itr: kind: 0 x: 79 y: 105 w: 79 h: 9999 dvx: 25 dvy: 0 fall: -1 vrest: 5 bdefend: 0 injury: 15 itr_end: opoint: kind: 1 x: 72 y: 79 action: 45 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 289 Gum_Gum_No_Ballon pic: 129 state: 15 wait: 2 next: 290 dvx: 0 dvy: 0 centerx: 81 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 23 y: 35 w: 42 h: 43 bdy_end: itr: kind: 0 x: 0 y: 105 w: 81 h: 9999 dvx: -22 dvx: 25 dvy: 0 fall: -1 vrest: 5 bdefend: 0 injury: 15 itr_end: itr: kind: 0 x: 79 y: 105 w: 79 h: 9999 dvx: 25 dvy: 0 fall: -1 vrest: 5 bdefend: 0 injury: 15 itr_end: opoint: kind: 1 x: 83 y: 79 action: 46 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 290 Gum_Gum_No_Ballon pic: 130 state: 15 wait: 2 next: 291 dvx: 0 dvy: 0 centerx: 79 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 23 y: 35 w: 42 h: 43 bdy_end: itr: kind: 0 x: 0 y: 105 w: 81 h: 9999 dvx: -22 dvx: 25 dvy: 0 fall: -1 vrest: 5 bdefend: 0 injury: 15 itr_end: itr: kind: 0 x: 79 y: 105 w: 79 h: 9999 dvx: 25 dvy: 0 fall: -1 vrest: 5 bdefend: 0 injury: 15 itr_end: opoint: kind: 1 x: 83 y: 79 action: 47 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 291 Gum_Gum_No_Ballon pic: 131 state: 15 wait: 2 next: 292 dvx: 0 dvy: 0 centerx: 79 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 23 y: 35 w: 42 h: 43 bdy_end: itr: kind: 0 x: 0 y: 105 w: 81 h: 9999 dvx: -22 dvx: 25 dvy: 0 fall: -1 vrest: 5 bdefend: 0 injury: 15 itr_end: itr: kind: 0 x: 79 y: 105 w: 79 h: 9999 dvx: 25 dvy: 0 fall: -1 vrest: 5 bdefend: 0 injury: 15 itr_end: opoint: kind: 1 x: 83 y: 79 action: 48 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 292 Gum_Gum_No_Ballon pic: 66 state: 15 wait: 1 next: 293 dvx: 0 dvy: 0 centerx: 41 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 sound: data\OGA_1905.wav opoint: kind: 1 x: 39 y: 79 action: 49 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 293 Gum_Gum_No_Ballon pic: 67 state: 15 wait: 1 next: 294 dvx: 0 dvy: 0 centerx: 41 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 39 y: 79 action: 49 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 294 Gum_Gum_No_Ballon pic: 66 state: 15 wait: 1 next: 295 dvx: 0 dvy: 0 centerx: 41 centery: 79 hit_a: 0 hit_d: 293 hit_j: 0 opoint: kind: 1 x: 39 y: 79 action: 49 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 295 Gum_Gum_No_Ballon pic: 67 state: 15 wait: 1 next: 294 dvx: 0 dvy: 0 centerx: 41 centery: 79 hit_a: 0 hit_d: 292 hit_j: 0 opoint: kind: 1 x: 39 y: 79 action: 49 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 296 Gum_Gum_No_Ballon pic: 68 state: 15 wait: 1 next: 297 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 39 y: 79 action: 49 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 297 Gum_Gum_No_Ballon pic: 69 state: 15 wait: 1 next: 298 dvx: 0 dvy: 0 centerx: 36 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 37 y: 79 action: 49 dvx: 0 dvy: 0 oid: 211 facing: 0 opoint_end: <frame_end> <frame> 298 Gum_Gum_No_Ballon pic: 76 state: 15 wait: 3 next: 999 dvx: 0 dvy: 0 centerx: 35 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 20 y: 40 w: 31 h: 38 bdy_end: <frame_end> |
And here's the ball which is invisible:
|
DC-Code:
<frame> 45 Luffys_Ballon_ball pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 26 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 8 y: 85 w: 92 h: 74 dvx: 0 dvy: 0 fall: 1 vrest: 5 bdefend: 0 injury: 0 itr_end: bdy: kind: 0 x: 8 y: 85 w: 92 h: 75 bdy_end: <frame_end> <frame> 46 Luffys_Ballon_ball pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 26 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 8 y: 85 w: 92 h: 74 dvx: 0 dvy: 0 fall: 1 vrest: 5 bdefend: 0 injury: 0 itr_end: bdy: kind: 0 x: 8 y: 85 w: 92 h: 75 bdy_end: <frame_end> <frame> 47 Luffys_Ballon_ball pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 26 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 8 y: 85 w: 92 h: 74 dvx: 0 dvy: 0 fall: 1 vrest: 5 bdefend: 0 injury: 0 itr_end: bdy: kind: 0 x: 8 y: 85 w: 92 h: 75 bdy_end: <frame_end> <frame> 48 Luffys_Ballon_ball pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 26 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 8 y: 85 w: 92 h: 74 dvx: 0 dvy: 0 fall: 1 vrest: 5 bdefend: 0 injury: 0 itr_end: bdy: kind: 0 x: 8 y: 85 w: 92 h: 75 bdy_end: <frame_end> <frame> 49 Luffys_Ballon_ball pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 26 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 8 y: 85 w: 92 h: 74 dvx: 0 dvy: 0 fall: 1 vrest: 5 bdefend: 0 injury: 0 itr_end: bdy: kind: 0 x: 8 y: 85 w: 92 h: 75 bdy_end: <frame_end> <frame> 50 Luffys_Ballon_ball pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 26 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 8 y: 85 w: 92 h: 74 dvx: 0 dvy: 0 fall: 1 vrest: 5 bdefend: 0 injury: 0 itr_end: bdy: kind: 0 x: 8 y: 85 w: 92 h: 75 bdy_end: <frame_end> <frame> 51 Luffys_Ballon_ball pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 64 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 8 y: 85 w: 92 h: 74 dvx: 0 dvy: 0 fall: 1 vrest: 5 bdefend: 0 injury: 0 itr_end: bdy: kind: 0 x: 8 y: 85 w: 92 h: 75 bdy_end: <frame_end> <frame> 52 Luffys_Ballon_ball pic: 999 state: 3000 wait: 2 next: 1000 dvx: 550 dvy: 550 dvz: 550 centerx: 64 centery: 159 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 8 y: 85 w: 92 h: 74 dvx: 0 dvy: 0 fall: 1 vrest: 5 bdefend: 0 injury: 0 itr_end: bdy: kind: 0 x: 8 y: 85 w: 92 h: 75 bdy_end: <frame_end> |

Chat

![[Image: variaboss.png]](http://img844.imageshack.us/img844/470/variaboss.png)
![[Image: megan_fox_fixing_bumblebee_transformer_c...0x1050.jpg]](http://sanwallpaper.com/wallpapers/megan_fox_fixing_bumblebee_transformer_car-1400x1050.jpg)


'
![[Image: proffl.png]](http://img12.imageshack.us/img12/1784/proffl.png)