So I am trying to make a game where the screen moves vertically not horizontally and I have this problem where when i put the game on a mobile phone it will put black borders on the top and bottom and on the right of the screen a white background and make the game look tiny. Is it possible to change the orientation from horizontal to vertical ?
Example of how the screen looks :
Thank you
It looks like you have your width and height values reversed. Switch them in your Project properties.
Also, make sure the Orientations is set to Portrait for good measure.
Develop games in your browser. Powerful, performant & highly capable.
It looks like you have your width and height values reversed. Switch them in your Project properties. Also, make sure the Orientations is set to Portrait for good measure.
Sorry could u please clarify what values i should change ? as it is set to portrait and height is 854 while width is 480 but there is like this dotted line and when i run the game its turning into a white background.
Your Window Size is showing 854, 480. It should be 480, 854.
Apologies for not clarifying earlier.
Btw, if you click the little + sign in front of Window Size, it will show you which is which.
Your Window Size is showing 854, 480. It should be 480, 854. Apologies for not clarifying earlier. Btw, if you click the little + sign in front of Window Size, it will show you which is which.
Oh my bad. Thank you