Window resolution issue.
I'm trying to add an option to change screen resolution (1920*1080 / 1280*720), as well as giving the option to go full screen or window mode.
I'm doing it in blueprint, and so far change of resolution works perfectly, but the full screen mode is not working when I'm setting the resolution to 1280*720, it goes full screen, but the screen doesn't adapt to the full screen, it display the game as 1280*720 pixels centered and add black background to the borders.
I read a lot of peoples having problems with their games to switch from full screen to window mode, is there anyone having a solution ?
The console commands I'm using are:
r.setRes 1920x1080f / 1920x1080w r.setRes 1280x720f / 1280x720w
The problem come from r.setRes 1280x720f .
Many thanks !
My next suggestion would be to try doing this via C++ and not blueprints. It is always good to have multiple resolutions to choose from when playing any game as it allows for greater flexibility with your games performance on different hardware. I would suggest doing a bit of research as for the most common resolutions used today in games as well as the menu options.
Also, have you attempted the alt+enter shortcut while playing your game? This also will toggle fullscreen at the set resolution. Let me know if you find any new information or discover a new outcome.
answered Jun 03 '15 at 02:15 PM
So I did some quick digging and found something you might find helpful for when launching your game in Standalone or any other preview view. You can actually set the default Window Width and Height upon launch as well as setting up custom parameters.
'Play' Section in Editor Preferences
Let me know if this was helpful in solving your issue or if you need more help!
Edit: Interesting enough the default settings are 1280x720 so perhaps there is a connection between your discovery and this setting be set as the default screen resolution.
answered Jun 01 '15 at 09:15 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here