Hello everyone !
So I just went across what could be a major problem to me if there is no solution =/ So my question is : Is there any way to change the fullscreen resolution ?
Let's say I have a 2D game that runs in fullscreen with a base resolution of 1080p. Is there any way to detect all available resolutions (to display them in a list on an option menu) ?
And as a result, is it possible to change the effective fullscreen resolution instead of going with the highest resolution ? (yes, some computers sometimes have a hard actually displaying the highest resolution even when the viewport is smaller, that's why games keep giving resolution and rendering resolution options ;) )
I've tried using setwindowsize() et gettree().getroot().set_rect() but both give me the same result, the game gets rendered only on a smaller portion of the screen (corresponding to the difference in resolution), and the rest has a flashing black/godot logo issue...
But even more so, if the engine does not allow for fullscreen resolution change, I would be real sad.
Thanks in advance everyone, have a good day