- Home /
Resolution
When i choose 800 600 the screen becomes small i want it to be fullscreen how do i do it?
Edit: I am unchecking windowed, and game becomes fullscreen. No problem with that. But the visible area is smaller than the full screen, there are black areas at the right and left. I want it to be like how it is in Call of Duty like games. Whatever the resolution is the screen will be filled to it's borders.
You need to be a little more specific, are you talking about inside the Unity Editor or when you build your game?
Answer by Olgo · Nov 06, 2012 at 07:00 PM
It sounds like you are talking about when you Build and Run your executable. You can uncheck the "windowed" button and 800 by 600 would fill your whole screen.
@$$anonymous$$ibz and @Olgo I am unchecking windowed, and game becomes fullscreen. No problem with that. But the visible area is smaller than the full screen, there are black areas at the right and left
Ohhh, well thats because you have a widescreen monitor (likely 16:9) and 800 by 600 is a 4:3 aspect ratio. The aspect ratios don't match so there will have to be some black somewhere. Considering how customizable unity is, I'd look around for a way to output a predeter$$anonymous$$ed resolution if you require such low resolution.
But game makers don't do it like that. Whatever aspect ratio the resolution have, the game becomes fullscreen in known games like call of duty or need for speed or whatever. Don't we have a chance to do that in unity?
Answer by TurboHermit · Nov 07, 2012 at 04:54 PM
Check out the aspect ratio of your Camera as well as your editor window. Make sure the port of the camera your using is in the same aspect ratio as 800x600, which is 4:3.
How do i do it for all resolution, will i do it with script like this: if(Screen.resolution==bla bla) aspect.ratio=4:3
will i have to do this for all resolutions? How will i do it?
It didn't work, i made it 4:3 and it is still the same.
Your answer
Follow this Question
Related Questions
OnGUI Button 1 Answer
Is this the correct way to scale my GUI? 1 Answer
GUI Resolution Ajust 1 Answer
Android screen size script not working 1 Answer
Restricting ratio of a 2D Game 2 Answers