Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Rotating the character, when making move.
#4
(02-10-2009, 11:39 AM)Pityon Wrote:  I want to make a move, where char changes the direction from left to right, or from right to left automatically. How to made it?
if you want to make your character turn around just put state 4 at the begining or any frame you want
<frame> ??????
pic: ???? state: 4 wait: 1 next: ???? dvx: 0 dvy: -4 centerx: 39 centery: 69 hit_a: 0 hit_d: 0 hit_j: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>

<frame> ??????
pic: ???? state: 4 wait: 1 next: ???? dvx: 0 dvy: 550 centerx: 39 centery: 69 hit_a: 0 hit_d: 0 hit_j: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>

make the next frame dvy 550 so he doesn't go back on the ground .
and now you can change direction and you can even give it a dvx of your choice but remember the state has to be 4 or you could try itr: kind 8 so when your doing a move he/she goes to a new frame that let him turn around with - frame you like.......
Naruto: Dawn Of Era...begins a new era [Image: ndoe.png]own....
Reply
Thanks given by:


Messages In This Thread
RE: Rotating the character, when making move. - by mda - 02-12-2009, 03:53 AM



Users browsing this thread: 3 Guest(s)