New answers tagged

2

Note that you can supply the SpriteBatch.Begin with a matrix parameter. Use your ingame "virtual screen" dimensions to calculate the scale factor. This way you can draw your game in the native "virtual" resolution and have the matrix do the heavy lifting for you. For example: float xscale = (float)ScreenWidth / VirtualscreenWidth; float yscale = (float)...



Top 50 recent answers are included