I'm trying to scale the game window in Monogame (I also have installed Monogame.Extended). (Example of what I want to achieve) What I want to achieve. Done with GameMaker

I've been doing this setting manually the PreferredBackBuffer when starting the scene

graphics.PreferredBackBufferWidth = 160*GameGlobals.zoom;  
graphics.PreferredBackBufferHeight = 144* GameGlobals.zoom;  

And also when calling the SpriteBatch

spriteBatch.Begin(SpriteSortMode.BackToFront, BlendState.NonPremultiplied, SamplerState.PointClamp, DepthStencilState.Default, RasterizerState.CullNone, null, Matrix.CreateScale(GameGlobals.zoom));

But that gave me issues with displaying sprites at bigger resolutions.

I've tried some things to no avail (like this http://dylanwilson.net/resolution-independence-in-monogame-with-viewport-adapters).

Any easy way to make the screen/viewport bigger? Or maybe I need another thing and this isn't what I'm seeking?

  • What are the 'issues' with the bigger resolutions you mention? – Felsir Jun 28 '16 at 6:44
  • I agree with @Felsir. You haven't said enough about the issues with displaying sprites at bigger resolutions. What are they? As far as I can tell what you're doing already seems like a reasonable approach. – craftworkgames Jul 1 '16 at 10:57

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.