Re-sizing pre-set game window during runtime?
** edit - I'm using 2.5 Dev
Hi all
This is something that I've been wrestling with trying to figure out a solution for a while, and hopefully I can clearly explain here what I'm trying to do. I'm working on a couple different projects, one is a metroidvania that I want to be able to re-size the game window based on the user's resolution. Right now, the game is a 480*360, and I use Ultimate Fullscreen to fill the screen. My monitors on my desktop that I am using to develop on are 1920*1080 resolution, which means it's pixelated 3x, with solid black borders on the side for the sake of a retro look. No borders on the top/bottom, because 360 goes into 1080 perfectly.
My laptop on the other hand, is 1366*768, in which the 480*360 game window resolution is 2x ratio, but now has black borders on the top and bottom as well because 360 doesn't perfectly factor into 768.
What I would like to be able to do, is based on the user's resolution, is calculate the right game window size and re-size it to that number, and then have Ultimate Fullscreen do the rest to stretch it from top to bottom. I don't want to resize to fill, because it looks horrible and kills performance. And, I'm not talking about resizing the actual window of the application, I'm talking the actual game window that you set in the prefs within Fusion.
Is there a way to do this internal to Fusion or via extension? I have heard it's possible on iOS and Android, but I dunno about Windows. If not, is this something that an extension could handle if someone made it? Would someone want to go in on getting someone to program an extension with me?
Thanks!
Chris