Topic was automatically imported from the old Question2Answer platform.
Asked By
Afely
I’m trying to implement an option to change the resolution of the game, and I can’t find a solution for how to do it anywhere. I just want to change the resolution, like if I were to go into project settings and change the window size from there. It seems pretty simple to me but I can’t figure it out. I’ve tried a lot of stuff already and nothing has worked right so far.
This didn’t really work for me. It’s closer than what I had, but not quite. I want to change the resolution, but keep the window size and size of the game inside the window the same.
Okay what do you mean that shrink doesn’t really work for you?
exuin | 2021-05-15 02:26
It did change the resolution, but when it did it made the game smaller inside of the window, which isn’t what I want. I want it to change the resolution but then scale it to fit the window size.
Afely | 2021-05-15 02:43
Is this a 2D game or a 3D game? And can you send me an example image?
exuin | 2021-05-15 03:37
It’s 3D, but I was testing the resolution changing in a 2D scene. Here’s an image of the main scene, and the options scene I was trying to change the resolution in.