Show differencesHistory of post edits
#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.