Character to face the right way after animations
SlightlyGrim
Member Posts: 51
Hi guys
I have a character that uses a walking animation. So that when the right arrow is pushed my character walks right, then when pushed the left arrow he turns and walks left. At the moment I've got the animation to restore image to orginal image (orginal image is facing right). That fine when the actor is walking right but I need the character to stay facing left when once the left button has finished being pressed. Any ideas guys?
thanks
Slightlygrim
I have a character that uses a walking animation. So that when the right arrow is pushed my character walks right, then when pushed the left arrow he turns and walks left. At the moment I've got the animation to restore image to orginal image (orginal image is facing right). That fine when the actor is walking right but I need the character to stay facing left when once the left button has finished being pressed. Any ideas guys?
thanks
Slightlygrim
Comments
In the rule where you actor walk to the right add this.
Change attribute self.facingright to true
And in the rule you walk left
Change attribute self.facingright to false.
Create a new rule.
If attribute self.facingright is true
Change image to "your image"(facingright)
Otherwise
Change image to "your image"(facingleft)
I don't know but it should work
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS