Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Using z pos in a move?
#6
(12-04-2013, 04:37 AM)Nyamaiku Wrote:  step3
dvz:550 after a while
because when you oppoint with multiple facings there will spread, and all of them will stick to the upper boundary and lower boundary
so you want them to spread a little at first, then use 550 to stop them from spreading too much
I made mine in another way since I couldn't opoint the flying frames directly and the spreading is just good :P
(12-04-2013, 04:37 AM)Nyamaiku Wrote:  step4
just remove the hit_Fa tag of the chase ball.
and make the hit_a and hit_d become 0.
dvx: 0 dvy: 0 dvz: 550
I tried that, however since the flying frames are looping, the hit_Fa tag is reactivated. I tried to loop the last flying frame
to solve that but then the balls can't hit the floor anymore (I think I can use type 2 for that)

(12-04-2013, 04:37 AM)Nyamaiku Wrote:  edit: i will make an example today, the ball only requires 1 data file, would you want the rain to go forever or just a certain range?

It's for a certain range only :P
I made one mixing both of your methods, Here is what it looks like:

First the character opoints the main ball that will "randomly" opoints secondary balls:
    DC-Code:
<frame> 170 start
  pic: 0  state: 3005  wait: 0  next: 171  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 4  y: 20  action: 83  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>
 
<frame> 171 start
  pic: 0  state: 3005  wait: 0  next: 172  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 81  dvx: 0  dvy: 0  oid: 271  facing: 41 
  opoint_end:
<frame_end>
 
<frame> 172 start
  pic: 0  state: 3005  wait: 0  next: 173  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 79  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>
 
<frame> 173 start
  pic: 0  state: 3005  wait: 0  next: 174  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 77  dvx: 0  dvy: 0  oid: 271  facing: 41 
  opoint_end:
<frame_end>
 
<frame> 174 start
  pic: 0  state: 3005  wait: 0  next: 175  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 80  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>
 
<frame> 175 start
  pic: 0  state: 3005  wait: 0  next: 176  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 78  dvx: 0  dvy: 0  oid: 271  facing: 41 
  opoint_end:
<frame_end>
 
<frame> 176 start
  pic: 0  state: 3005  wait: 0  next: 177  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 82  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>
 
<frame> 177 start
  pic: 0  state: 3005  wait: 0  next: 178  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 4  y: 20  action: 80  dvx: 0  dvy: 0  oid: 271  facing: 41 
  opoint_end:
<frame_end>
 
<frame> 178 start
  pic: 0  state: 3005  wait: 0  next: 179  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 77  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>
 
<frame> 179 start
  pic: 0  state: 3005  wait: 0  next: 180  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 82  dvx: 0  dvy: 0  oid: 271  facing: 41 
  opoint_end:
<frame_end>
 
<frame> 180 start
  pic: 0  state: 3005  wait: 0  next: 181  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 83  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>
 
<frame> 181 start
  pic: 0  state: 3005  wait: 0  next: 182  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 81  dvx: 0  dvy: 0  oid: 271  facing: 41 
  opoint_end:
<frame_end>
 
<frame> 182 start
  pic: 0  state: 3005  wait: 0  next: 183  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 78  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>
 
<frame> 183 start
  pic: 0  state: 3005  wait: 0  next: 184  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 79  dvx: 0  dvy: 0  oid: 271  facing: 41 
  opoint_end:
<frame_end>
 
<frame> 184 start
  pic: 0  state: 3005  wait: 0  next: 185  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 4  y: 20  action: 77  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>
 
<frame> 185 start
  pic: 0  state: 3005  wait: 0  next: 186  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 81  dvx: 0  dvy: 0  oid: 271  facing: 41 
  opoint_end:
<frame_end>
 
<frame> 186 start
  pic: 0  state: 3005  wait: 0  next: 170  dvx: 10 dvy: 0  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
  opoint:
 	 kind: 1  x: 6  y: 20  action: 79  dvx: 0  dvy: 0  oid: 271  facing: 30 
  opoint_end:
<frame_end>


Then the balls that will themselves opoint to the flying frame of each colored ball
    DC-Code:
<frame> 77 start O
  pic: 1  state: 3005  wait: 5  next: 90  dvx: -1  dvy: 1  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  
<frame_end>
 
<frame> 78 start Y
  pic: 2  state: 3005  wait: 5  next: 95  dvx: -1  dvy: 1  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  hit_Fa: 3
<frame_end>
 
<frame> 79 start G
  pic: 3  state: 3005  wait: 5  next: 100  dvx: -1  dvy: 1  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  hit_Fa: 3
<frame_end>
 
<frame> 80 start LB
  pic: 4  state: 3005  wait: 5  next: 105  dvx: -1  dvy: 1  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  hit_Fa: 3
<frame_end>
 
<frame> 81 start B
  pic: 5  state: 3005  wait: 5  next: 110  dvx: -1  dvy: 1  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  hit_Fa: 3
<frame_end>
 
<frame> 82 start P
  pic: 10  state: 3005  wait: 5  next: 115  dvx: -1  dvy: 1  dvz: 550  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  hit_Fa: 3
<frame_end>
 
<frame> 83 start R
  pic: 0  state: 3005  wait: 5  next: 999  dvx: -1  dvy: 1  dvz: 55  centerx: 12  centery: 24  hit_a: 5  hit_d: 300  hit_j: 0  hit_Fa: 3
<frame_end>


Flying frames (x7) :
    DC-Code:
<frame> 0 flying
  pic: 0  state: 3000  wait: 0  next: 1  dvx: 0  dvy: 0  dvz: 0  centerx: 12  centery: 24  hit_a: 0  hit_d: 0  hit_j: 0  hit_Fa: 3  
<frame_end>
 
<frame> 1 flying
  pic: 0  state: 3000  wait: 0  next: 2  dvx: 0  dvy: 0  dvz: 0  centerx: 12  centery: 24  hit_a: 0  hit_d: 0  hit_j: 0  hit_Fa: 7
  itr: 
     kind: 0  x: 4  y: 4  w: 17  h: 17  dvx: 1  dvy: -1  fall: 50  vrest: 20  bdefend: 20  injury: 2  effect: 1
  itr_end:
<frame_end>
 
<frame> 2 flying
  pic: 0  state: 3000  wait: 0  next: 3  dvx: 0  dvy: 0  dvz: 0  centerx: 12  centery: 24  hit_a: 0  hit_d: 0  hit_j: 0  hit_Fa: 7
  itr: 
     kind: 0  x: 4  y: 4  w: 17  h: 17  dvx: 1  dvy: -1  fall: 50  vrest: 20  bdefend: 20  injury: 2  effect: 1
  itr_end:
<frame_end>
 
<frame> 3 flying
  pic: 0  state: 3000  wait: 0  next: 4  dvx: 0  dvy: 0  dvz: 0  centerx: 12  centery: 24  hit_a: 0  hit_d: 0  hit_j: 0  hit_Fa: 7
  itr: 
     kind: 0  x: 4  y: 4  w: 17  h: 17  dvx: 1  dvy: -1  fall: 50  vrest: 20  bdefend: 20  injury: 2  effect: 1
  itr_end:
<frame_end>
 
<frame> 4 flying
  pic: 0  state: 3000  wait: 0  next: 0  dvx: 0  dvy: 0  dvz: 0  centerx: 12  centery: 24  hit_Fa: 7  
  itr: 
     kind: 0  x: 4  y: 4  w: 17  h: 17  dvx: 1  dvy: -1  fall: 50  vrest: 20  bdefend: 20  injury: 2  effect: 1
  itr_end:
<frame_end>


What happens is a red ball moving on a straight line shooting a first arc of balls that will become chasingballs.
I still want to see your way of doing it :P I'll post the final result then :D
And Then Will There Be None?
Reply
Thanks given by:


Messages In This Thread
[solved] Using z pos in a move? - by GentleSlayer - 12-03-2013, 03:59 AM
RE: Using z pos in a move? - by Nyamaiku - 12-03-2013, 08:22 AM
RE: Using z pos in a move? - by YinYin - 12-03-2013, 09:26 AM
RE: Using z pos in a move? - by GentleSlayer - 12-03-2013, 06:04 PM
RE: Using z pos in a move? - by Nyamaiku - 12-04-2013, 04:37 AM
RE: Using z pos in a move? - by GentleSlayer - 12-04-2013, 05:51 AM
RE: Using z pos in a move? - by Nyamaiku - 12-04-2013, 01:28 PM
RE: Using z pos in a move? - by GentleSlayer - 12-04-2013, 06:12 PM
RE: Using z pos in a move? - by YinYin - 12-04-2013, 06:22 PM
RE: Using z pos in a move? - by Nyamaiku - 12-04-2013, 06:34 PM
RE: Using z pos in a move? - by GentleSlayer - 12-04-2013, 06:58 PM
RE: Using z pos in a move? - by Nyamaiku - 12-06-2013, 07:51 AM
RE: Using z pos in a move? - by GentleSlayer - 12-06-2013, 04:31 PM



Users browsing this thread: 2 Guest(s)