[Solved]Scaling/zooming game window?

I’m also resizing my window. If I don’t resize the window, I couldn’t see almost anything on the screen.

Ah but your image is not stretching to fit the screen, it keeps its set size?

I don’t understand you right now. Maybe a picture explanation will help.

I draw on a renderTexture at 160x144, then, depending on the “zoom” variable, it will scale to a certain point.

What happens if you manually resize the window with the mouse?

Also have you attempted full screen in a wide screen desktop resolution? Does the game remain square(ish) or does it just stretch out?

You can’t resize the game. I don’t want to allow that haha.
I haven’t attemped full screen tho.

Lol I know you probably don’t want to allow it, I was just curious what actually happens.

Does your game remain the size you want and just the window grows bigger around it?

Sorry if I sound agresive or something, didn’t want that hahaha.
Yes! Just like you say! If I want the native resolution, the window is 160x144, if I want scalex2, 320x288, and so on.

It’s been a while since I did any monogame development, but looking at an old game I started I came across this, not sure how useful it will be.

http://www.david-amador.com/2010/03/xna-2d-independent-resolution-rendering/