Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] State 301 isn't working in this glide move
#1
:( 
Hello there! Once again, with a question...

the char that i'm making has this ability: when in air, he can glide if the player press Defend. I would like to control the Z axis while gliding, but even using State 301, it doesn't works! Why?

Btw, here's the code:
Code:
<frame> 254 Glide
   pic: 89  state: 15  wait: 0  next: 255  dvx: 0  dvy: 550  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 20  y: 61  w: 39  h: 17
   bdy_end:
<frame_end>

<frame> 255 Glide
   pic: 89  state: 15  wait: 1  next: 256  dvx: 8  dvy: -3  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 20  y: 61  w: 39  h: 17
   bdy_end:
   itr:
      kind: 0  x: 20  y: 61  w: 39  h: 17  dvx: 5  dvy: 10  fall: 70  vrest: 10  bdefend: 100  injury: 10
   itr_end:
<frame_end>

<frame> 256 Glide
   pic: 90  state: 15  wait: 2  next: 257  dvx: 8  dvy: 550  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 20  y: 61  w: 39  h: 17
   bdy_end:
   itr:
      kind: 0  x: 20  y: 61  w: 39  h: 17  dvx: 5  dvy: 10  fall: 70  vrest: 10  bdefend: 100  injury: 10
   itr_end:
<frame_end>

<frame> 257 Glide LOOP
   pic: 91  state: 301  wait: 2  next: 258  dvx: 8  dvy: 550  centerx: 39  centery: 79  hit_a: 90  hit_d: 212  hit_j: 0  mp: -2
   bdy:
      kind: 0  x: 20  y: 61  w: 39  h: 17
   bdy_end:
   itr:
      kind: 0  x: 20  y: 61  w: 39  h: 17  dvx: 5  dvy: 10  fall: 70  vrest: 10  bdefend: 100  injury: 10
   itr_end:
<frame_end>

<frame> 258 Glide LOOP
   pic: 92  state: 301  wait: 1  next: 257  dvx: 8  dvy: -1  centerx: 39  centery: 79  hit_a: 90  hit_d: 212  hit_j: 0  mp: -2
   bdy:
      kind: 0  x: 20  y: 61  w: 39  h: 17
   bdy_end:
   itr:
      kind: 0  x: 20  y: 61  w: 39  h: 17  dvx: 5  dvy: 10  fall: 70  vrest: 10  bdefend: 100  injury: 10
   itr_end:
<frame_end>
needing a HEXer .-.
NSSD FORUM
Reply
Thanks given by:
#2
try state: 3 with dvz: 2 or 3



Azriel~
Reply
Thanks given by:
#3
(02-18-2009, 03:38 AM)Azriel Wrote:  try state: 3 with dvz: 2 or 3

Actually, it worked o.o

Let me see if i got the point: declaring a dvz, it's possible to control the Z axis of an attack: the Z pixels/Tu = dvz, right?

But, by this way, why would i need state 301?
needing a HEXer .-.
NSSD FORUM
Reply
Thanks given by:
#4
>>the Z pixels/Tu = dvz, right?
right

you wouldn't need state: 301. m&s just made it for deep's D>J.


p/s: click solved on any topics that are solved, so admins/mods can move it without having to check.

Azriel~
Reply
Thanks given by: KadajNoir , NocturneSama
#5
The difference is: With state 301 you have full control.
That means you can go up and down on the Z axis.

With most other states (if you can change Z axis) you push down and will move downwards all the move. Like when you are jumping.
My Creations: (Click to View)

Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.


Greetz,
Alblaka
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)