Hey there, I’m trying to put together a game that runs in portrait mode on Android, but I have run into a bit of a problem, there seems to be no way to set the camera aspect ratio to accommodate this. The Camera is always wider than it is tall, and so by using portrait mode the game still displays as though it is 16:9 while the phone is upright, creating massive letterboxes at the top and bottom. I’ve messed around with camera settings to no end and have been unable to achieve a useful result. There seems to be a serious lack of documentation on this.
Set to landscape mode I am able to utilize the device as intended, but as you can see by the icons at the bottom, the phone thinks it is in landscape (which it is) and this causes several problems on top of just looking sloppy. The nature of the game requires the player to swipe from left to right, and in this mode it causes the player to constantly rub the right (top) of the screen, bringing out the android menu.
In Portrait mode, I am unable to find a way to get the camera to display taller than wide. Messing with the aspect ratio has not been able to produce the desired results.