Rotating your actor relative to your direction of movement
gamesaladnewbie
Member Posts: 3
Hi I am new to GameSalad and I have been trying to work out how to get my main character to rotate when the left and right key is pressed so that he is facing the way he is moving.
I simply want him to face left when going left, so rotate 180 when left arrow key is pressed.
I have tried many things and none of them seem to be working. Please help
I simply want him to face left when going left, so rotate 180 when left arrow key is pressed.
I have tried many things and none of them seem to be working. Please help
Comments
When left arrow is down change self.Graphics.Flipvertically to true
when right arrow is down change self.Graphics.Flipvertically to false