Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Rotate the ship
- Vector2 lugar = new Vector2(450, 240);
- Rectangle retanguloOrigem = new Rectangle(0, 0, nave.Width, nave.Height);
- //Rotation origin
- Vector2 origem = new Vector2(200, 100);
- spriteBatch.Draw(nave, lugar, retanguloOrigem, Color.White, angulo, origem, 1.0f, SpriteEffects.None, 1);
Advertisement
Add Comment
Please, Sign In to add comment