Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

#ActualHaps

Posted 28 September 2012 - 11:24 AM

SpriteBatch.Draw has a parameter, SpriteEffects, that can be inserted into one of the overloads to handle simple sprite flipping. It also has a rotation value if you need it. Bear in mind rotation is typically done in Radians, not Degrees.

#2Haps

Posted 28 September 2012 - 11:20 AM

SpriteBatch.Draw already has a parameter for flipping sprites: SpriteEffects can be inserted into one of the overloads to handle simple sprite flipping, as well as a rotation value. Bear in mind rotation is typically done in Radians, not Degrees.

#1Haps

Posted 28 September 2012 - 11:18 AM

SpriteBatch.Draw() already has a parameter for flipping sprites: SpriteEffects can be inserted into one of the overloads to handle simple sprite flipping.

PARTNERS