Home > Net >  Camera wrong orientation?
Camera wrong orientation?

Time:11-10

I created an empty 2D project - to try a tutorial from here

enter image description here

What I was expecting was this (as seen in a video tutorial):

enter image description here

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.

enter image description here

Open the dropdown and click on to create a new resolution option

enter image description here

Adjust it according to you needs e.g.

enter image description here

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.

  • Related