Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Indestructible ball
#1
Hi.
It's me again, and i have problem with ball.
I create ball that go about 15 pixels and come back.
That ball must be indestructible even can't be destroyed even with henry wind.
What to do?
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:
#2
indestructible: make it state: 3.
go back: first frame: dvx: 15; 2nd frame: dvx: 550; third frame: dvx: -15.

quite easy :)
Reply
Thanks given by: Hax0r
#3
I was trying state: 3 but when it hit henry wind they destroy each other.
I have "Go Back" maked.
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:
#4
(11-11-2009, 02:36 PM)Hax0r Wrote:  I was trying state: 3 but when it hit henry wind they destroy each other.
I have "Go Back" maked.

Delete the body if you use state 3/15 or what ever.any other states then states 3000 or 3005 cause the ball to go frame 20 when its get hit by a itr.

I made an indestructible ball(3005) and it had bdys but I also used next from frame 10/20/30 to send the ball back to the flying frames when its get hit.

Use state 15 with no body in the flying frames or use state: 3005 (with or without bdy) with next value that lead the ball to the flying frames when its go to frame 10/20.
Reply
Thanks given by: Bamboori , Hax0r
#5
I don't know why but when henry wind hits it after o-point its break but when its fly some time then hit don't break.

code:

    DC-Code:
<frame> 10 hiting
   pic: 20  state: 3001  wait: 1  next: 11  dvx: 0  dvy: 0  dvz: 0  centerx: 51  centery: 39  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 11 hiting
   pic: 21  state: 3001  wait: 1  next: 12  dvx: 0  dvy: 0  dvz: 0  centerx: 47  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 12 hiting
   pic: 22  state: 3001  wait: 1  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 49  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 20 hit
   pic: 20  state: 3002  wait: 1  next: 21  dvx: 0  dvy: 0  dvz: 0  centerx: 51  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 21 hit
   pic: 21  state: 3002  wait: 1  next: 22  dvx: 0  dvy: 0  dvz: 0  centerx: 48  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 22 hit
   pic: 22  state: 3002  wait: 1  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 51  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 30 rebounding
   pic: 20  state: 3000  wait: 3  next: 31  dvx: -14  dvy: 0  dvz: 0  centerx: 41  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 31 rebounding
   pic: 21  state: 3000  wait: 3  next: 1000  dvx: -14  dvy: 0  dvz: 0  centerx: 41  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 41 y: 41 action: 20  dvx: 0  dvy: 0  oid: 396  facing: 1
   opoint_end:
<frame_end>
 
 
 
 
 
 
 
<frame> 80 goback_axe
   pic: 8  state: 15  wait: 1  next: 81  dvx: 20  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\054.wav
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 81 goback_axe
   pic: 9  state: 15  wait: 1  next: 82  dvx: 18  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 82 goback_axe
   pic: 10  state: 3005  wait: 1  next: 83  dvx: 15  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\054.wav
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 83 goback_axe
   pic: 11  state: 15  wait: 1  next: 84  dvx: 10  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 84 goback_axe
   pic: 12  state: 15  wait: 1  next: 85  dvx: 7  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\054.wav
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 85 goback_axe
   pic: 13  state: 15  wait: 1  next: 86  dvx: 5  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 86 goback_axe
   pic: 14  state: 15  wait: 1  next: 87  dvx: 3  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\054.wav
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 87 goback_axe
   pic: 15  state: 15  wait: 1  next: 88  dvx: 1  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 88 goback_axe
   pic: 8  state: 15  wait: 1  next: 89  dvx: -1  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\054.wav
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 89 goback_axe
   pic: 9  state: 15  wait: 1  next: 90  dvx: -3  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 90 goback_axe
   pic: 10  state: 15  wait: 1  next: 91  dvx: -5  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\054.wav
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 91 goback_axe
   pic: 11  state: 15  wait: 1  next: 92  dvx: -7  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 92 goback_axe
   pic: 12  state: 15  wait: 1  next: 93  dvx: -10  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\054.wav
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 93 goback_axe
   pic: 13  state: 15  wait: 1  next: 94  dvx: -15  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 94 goback_axe
   pic: 14  state: 15  wait: 1  next: 95  dvx: -18  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\054.wav
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   itr_end:
<frame_end>
 
<frame> 95 goback_axe
   pic: 15  state: 15  wait: 1  next: 1000  dvx: -18  dvy: 0  centerx: 51  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 0  y: 0  w: 79  h: 79  dvx: 12  dvy: -10  fall: 70  vrest: 10  bdefend: 60  injury: 35  effect: 1
   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:
#6
in frame 82, you forgot to change the state.
Reply
Thanks given by: Hax0r




Users browsing this thread: 2 Guest(s)