I’m creating a game with 16:10 in mind but of course I’d like it to be able to scale properly for different resolutions. Enlarging the view in every direction until a proper aspect ratio is met isn’t suitable for my case cause there are edges which simply cannot be expanded further without the game getting uglier/easier to play.
Thus, I’d like to establish simple rules like:
if it’s 16:10, you know what to do
if it’s 16:9, expand to the left but keep the other edges still
if it’s 21:9, expand more to the left and only a bit to the right, upper and lower edges still
…and so on.
Is there some built-in tool for preparing the game for such scenarios or should you use multiple cameras or something completely different?
I think you would get an answer if you were more specific, I.e.
is your camera ortho vs persp
if ortho, pixel perfect scaling or not
aspect ratio range
If you want gameplay to be exactly the same, I would define the core gameplay area that needs to be visible in all aspect ratios. If you then want to hide the pillar / letter boxes for other aspect ratios, cover them up with UI or background gfx
because of the different resolutions involved you will never get a one step fits all approach, what looks good on one device can look terrible on another, a power of two is the best starting approach, you can create assets for different resolutions, but is that cost effective, it might also depend on what type of game your are creating as well.