This project has moved and is read-only. For the latest updates, please go here.

SpriteBatch and resing loaded texture.

Mar 14, 2015 at 8:19 PM

In my project I use textures, that I load from .dds files and I use spriteBatch to draw it. But according to the screen size, I must resize it. Now I use scale option to do it, but in some exeptions, I want to change width and height of texture separately. It is a way to do it?
Mar 15, 2015 at 6:57 AM
You have to load a new texture of the different size.

There are lots of other techniques you can use, so see More tricks with sprites and SpriteBatch