Hello!
My goal is to have a fullscreen game, without linear interpolation, aka sharp and square pixels.
I deactivated the linear transformations to have sharp pixels in my game. But when I do that, if the user computer resolution isn't the exact multiple x2 or x4 of the game resolution, in fullscreen some of the pixels are stretched out of proportion, and aren't all square anymore.
So, my idea of a solution would be:
Checking the user resolution, and then apply either a x2 or x4 on the base game resolution, depending on if that's possible, and then apply black borders. That way, I could maximize my game resolution the best I can on every computer resolutions, without breaking pixels.
Let's say I'm making a 620*360 game, it would stay at that resolution until 1280*720 where it would scale*2, and every resolution until before 1920*1080 it would stay that way, and in 1920*1080 it would be *4, and so on... like some responsive websites already handle multiple devices. And that would be fullscreen, where every other space is occupied by black boxes.
Problem is, I don't know how I can create either a fake fullscreen in borderless window, or change the way the software handles fullscreen, or if there already is a plugin doing what I'm saying...
Do you have any ideas/solutions? Did you have the same problem? Thanks!
My goal is to have a fullscreen game, without linear interpolation, aka sharp and square pixels.
I deactivated the linear transformations to have sharp pixels in my game. But when I do that, if the user computer resolution isn't the exact multiple x2 or x4 of the game resolution, in fullscreen some of the pixels are stretched out of proportion, and aren't all square anymore.
So, my idea of a solution would be:
Checking the user resolution, and then apply either a x2 or x4 on the base game resolution, depending on if that's possible, and then apply black borders. That way, I could maximize my game resolution the best I can on every computer resolutions, without breaking pixels.
Let's say I'm making a 620*360 game, it would stay at that resolution until 1280*720 where it would scale*2, and every resolution until before 1920*1080 it would stay that way, and in 1920*1080 it would be *4, and so on... like some responsive websites already handle multiple devices. And that would be fullscreen, where every other space is occupied by black boxes.
Problem is, I don't know how I can create either a fake fullscreen in borderless window, or change the way the software handles fullscreen, or if there already is a plugin doing what I'm saying...
Do you have any ideas/solutions? Did you have the same problem? Thanks!