Rotating and Images!

ExplosiveGamerExplosiveGamer Member Posts: 33
edited June 2014 in Working with GS (Mac)

Alright so I got fishes in my game and they rotate towards an actor. When they go right it's fine but when they go left they are upside down going left. I would like to have the actor flip horizontally when it decides to go left, so its facing upright when going left. Would it also be able to squeeze in quick animation to show the fish turning?
Here is the rule i am using so my fishes rotate towards actor. keep in mind i am broad casting the actors position through game attributes.

Rule
Rotate
Set: self.rotation to: vectortoangle(game.actorX - self.positionX, game.actorY - self.positionY)

Comments

Sign In or Register to comment.