How to make an actor's image flip mid-game?

FrazzleFrazzle Member Posts: 223
edited April 2012 in Working with GS (Mac)
Question in title ;)
Cheers,FM.

Best Answer

Answers

  • FrazzleFrazzle Member Posts: 223
    Thanks, so I wont be able to change it with a change x to -x rule then?
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited April 2012

    Hi @Frazzle

    What @tenrdrmer wrote is the way to go for what you're after; it's straightforward and it works fine...

    For the record, there is no connection between the x co-ordinate and flipping an image. And there's no "change x to -x" rule for anything specific either.... if you change an x coordinate of an actor which is 200, for example, by changing it to -200 will simply take the actor out of the screen area... but I'm sure you realise that now.

    ----------------------------------------------
    http://davidgriffinapps.co.uk/

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • FrazzleFrazzle Member Posts: 223
    By x I meant it in the mathematical term ( i.e anything).
    Perhaps I should have made it clearer, though. I thought you could turn self.graphics flip horizontally to - ___ and that would work like how it does for other attribute types. (Might be angle?)
    Anyway, thanks for helping me out, FM.
Sign In or Register to comment.