I need some advice on how to handle camera scaling for unconventional screen ratios, specifically for foldable devices.
My Current Setup:
- Base Resolution: 720 x 1280 (Portrait)
- Resize Mode: Adjust width to fill screen (Extend or crop)
- Event for camera:
Change the X position of camera: set to 360
The Issue:
On standard 16:9 or wider screens, “Adjust Width” works/extends great. However, when I test on a Samsung, which has a 22:9 ratio, the screen is cropped too far inward - I am losing significant level content on the left and right.
I would like to fit the width of my game to the phones for unconventional tall screens (22:9).
and to keep extending width for screens wider than 16:9
Is there a way to dynamically switch the scaling logic based on the device aspect ratio so that I never lose my 720px width of gameplay?
Thanks!