How to create 4:3 aspect ratio for game? No matter the resolution?

You can write your topic however you want, but you need to answer these questions:
Hello all! I’m trying to make a game with a 4:3 aspect ratio. I attempted to just put a 4:3 image label which worked fine until it got all stretched out on other resolutions!

16:9 (slightly stretched)

21:9 (very streched!)

4:3 (bars shouldn’t be there, too squished.)

Is it possible to make a script that finds the aspect ratio of the window and moves to bars corresponding to the window’s ratio?

Thanks for any help!

There is a UI constraint for exactly this purpose

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.