Thanks, I am already able to make my character pace back and forth, but I also want to change the animated image to match the character's direction. How do I do that?
Thanks a lot! Now I got my character's animation matching the direction too!
I created a player that jumps when I touch the screen, and it jumps properly when the gravity Y is set to 900, but the character that is pacing back and forth doesn't walk when the gravity Y is set to 900, so I changed the gravity Y to 0. Now the character pace back and forth but the player jumps in slow motion when gravity Y is 0. What should I do to make both -player and other character- to work properly?
Comments
http://gamesalad.com/wiki/how_tos:gsc_pacing
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Thanks
When self.motionlinearvelocityX > 0
Animate: Facing right images
When self.motionlinearvelocityX < 0
Animate: Facing left images
I created a player that jumps when I touch the screen, and it jumps properly when the gravity Y is set to 900, but the character that is pacing back and forth doesn't walk when the gravity Y is set to 900, so I changed the gravity Y to 0. Now the character pace back and forth but the player jumps in slow motion when gravity Y is 0. What should I do to make both -player and other character- to work properly?
Thanks