This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Mishti
wrote ...
2013/9/23
Mirror Actor
Mishti
2013/9/23
#
How would you take an actor and flip it. I have a whale but when I turn it, it turn upside down, but I need it to face left from right.
Zamoht
2013/9/23
#
Use getImage().mirrorHorizontally(); Where you need to mirror the actor.
danpost
2013/9/23
#
If using ''turn', or 'setRotation', with the 'move' method, use 'mirrorVertically'; else, use 'mirrorHorizontally'.
Mishti
2013/9/23
#
:) oh! thank you
You need to login to post a reply.
X