How to make a character walk back and forth?
HeyFries
Member Posts: 78
How to make a character, like an enemy, walk back and forth within a constrained distance, without controllers?
Thanks
Thanks
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