flipping an image

tgunntgunn Member Posts: 19
edited May 2012 in Working with GS (Mac)
I thought this would have been simple.. but i think i am missing something..
The is the issue i have a actor who is facing right on he moves with left and right arrow buttons on touch pad.
the movements are controlled by player moves game attributes.
in photo shop i flipped the actor to face left.
i would like to have the actor face left when the left touch button is touched and face right when the right button is touched.

What would be the best way to do that?

Tommy

Answers

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    No need making extra graphics in Photoshop, just change self.graphics.Flip Horizontally to true when you want to go left and false when you wanna go back.

    Ace
  • tgunntgunn Member Posts: 19
    how do i do ? self.graphics

    Thanks!
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Just add in a Change Attribute then click the Actor's name then Graphics then Flip Horizontally
  • tgunntgunn Member Posts: 19
    ok got it Working! forgot the part about making a rule it keeps flipping back to the right when i release the left button.
Sign In or Register to comment.