What is the correct way to set my game to properly show full screen?
Ive' been working on this for a while and had no luck whatsoever; in fact I'm amazed that such a simple and necessary thing is so convoluted.
I used the following code in a console command node placed in my game mode blueprint: r.SetRes 1366x768f I also set the camera aspect ratio to 16:9. (1366x768) in my player character blueprint. Though reading through the documentation I'm aware that this doesn't have anything to do with the window size; just what should be seen through that particular camera.
When I tried this on the tablet, it works 1 time in every ten (approximately). The rest of the time the game has considerable letterboxing around all four sides of the screen; the game view appears to begin at the edge of the letterboxing.
I've now tried it again with additional blueprint scripting that pushes the window resolution to the HUD. This has resulted in the following:
When it works properly, the screen resolution reads as 1366 x 768. When it is off-set and letterboxed, the screen resolution reads as 1256 x 706.
I've since tried taking the 'f' off the end of the console command which stops it entering full-screen mode. When I tried maximizing the window using the standard MS Windows maximize button, it does the same thing as above, only in windowed mode: sometimes the screen takes up the whole of the window and other times it is offset and letterboxed.
My questions are as follows:
a) What on earth do I need to do to fix this? I'm now completely out of ideas.
b) What is the correct procedure for making a game play at fullscreen when it loads?
c) If the syntax "r.SetRes xf" sets the window to fullscreen mode then why does the x and y axis need to be specified? It seems as if the syntax "r.SetRes 1366x768f" makes my game fullscreen both on the tablet (which is 1366 x 768 resolution) and on my desktop monitor (which is `1920 x 1080). In short, I don't have a clue what is going on here.
asked Jan 13 '15 at 01:42 PM in Packaging & Deployment
The x y are needed, because you can have a 800x600 fullscreen on a 1920x1080 screen. Fullscreen has nothing to do with the pixel or resulotion. If you set it to 1366x768f on your PC, it will go Fullscreen, but the resolution is still worse than setting it to 1920x1080f, because you lack a pretty big amount of pixels.
Also, did you set "r.fullscreenmode x" (x | 0, 1 or 2) somewhere?
You may also want to have a look at this parameter:
This is copied from a user uni file. Here are some links to related questions:
Do someone found a solution?
answered Sep 19 '15 at 12:01 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here