Hello. I have a typical function that sets the game to be fullscreen when pressed and windowed when pressed again.
The game itself runs at a resolution of 480x360 which is 4:3, so when it is fullscreened on my primary monitor which is 16:9 it will add black bars to the sides to fill the whole...
So I created this script to scale a game with 16:9 ratio.
Basically it scales to edge for width then puts it to a 16:9 ratio via a surface scale.
Works, I just thought I'd share for anyone interested and see if there's any additions or alterations anyone may have to suggest.
so, as i am creating this post, I realized that I made an error. Luckily, it's very early in my game's development. I was creating my pixel art 60 x 60 thinking all is good because 60 goes into 1920 and 1080 evenly but, I don't believe this is how pixels/resolutions/aspect ratios (work or do...