My aim is to make a simple 2D platformer, the idea is that it will be a base resolution of 480x270 (16:9) which can scale x2, x4(1920x1080) or go full screen.
I basically do:
graphics.PreferredBackBufferWidth = 480; graphics.PreferredBackBufferHeight = 270;
and call methods do double or x4 them and then call graphics.ApplyChanges() which work well, I assume any 1x1 pixels from 1x resolution now appear as 2x2 or 4x4.
However in full screen the image is just stretched to whatever fits, how can I make it "letterboxed"?
BoxingViewportAdapter
to be able to have black bars on all sides to keep the image at a perfect 2x / 4x pixel scale? We don't currently have that feature in MonoGame.Extended but I've seen it before and it might be a nice addition. \$\endgroup\$