I created an empty 2D project - to try a tutorial from here
What I was expecting was this (as seen in a video tutorial):
Any suggestions?
CodePudding user response:
In your GameView on the top bar there is the Display X
dropdown and right next to it a resolution dropdown.
Per default it is usually Free Aspect
which means the camera resolution is whatever the resolution of the GameView
window is.
Open the dropdown and click on
to create a new resolution option
Adjust it according to you needs e.g.
or using a dynamic resolution but fixed aspect ratio.
Now you can select it and no matter how the GameView
window is scaled now it always keeps this fixed resolution (or aspect ratio) for the camera.