Hi everyone !
Please forgive my non native bad English.
I am trying to figure how work the Aspect Ratio in Unity ? (I don’t know if it called aspect ratio).
I was wondering what was the best Aspect Ratio for my project.
I am targeting PC and MAC devices.
At first i made my project in 16:9 but when made the build and played the game, the side was cropped, and it did not respect the 16:9 Ratio at all.
Could you explain me why ?
Also, does standard games uses 4:3 or 16:9 ?
Also, something that have been confusing to me, is Aspect Ratio and Screen Resolution linked together ?
Or is it totally different things ?
Best Regards.
The aspect ratio may be considered as a result of the resolution used, meaning e.g. 1920x1080 used resolution will result on an aspect ratio of 16:9. That’s also the default resolution most displays currently have (Full HD).
If you use for example a 4:3 resolution like the current iPad’s resolution of 2048x1536 on a 16:9 device, you’ll either get cropping at the sides, or the whole image might appear to be stretched.
Unity supports all kind of ratios and resolutions by default and you don’t need to mess with that a lot. As you are targetting different devices with different resolutions, you should give the player the chance to change the resolution as well. You in turn then need to make sure that e.g. your UI will be placed accordingly in all these resolutions. Best way to do this is definitely to use one of the UI frameworks. I’m personally using EZGUI.