Home > other >  Flip horizontal andEngine elves how to implement
Flip horizontal andEngine elves how to implement

Time:09-24

Play your small white, recently in andengine the android game engine but find out the direction of the material in the picture is a now want to do a flip horizontal, animation in the elves have a setRotation () function to rotate but there is only one parameter is rotation Angle, use this function directly rotate 180 degree as a result, the vertical roll, to achieve flip horizontal how?

CodePudding user response:

SetRotation () is the rotation Angle, flip horizontal you with image processing software processing line,

CodePudding user response:

reference 1/f, reply the soul butterfly five points:
setRotation () is the rotation Angle, flip horizontal you with image processing software processing line,

Just think in image processing is too much trouble can't directly with application level flip it
  • Related