Hey all! I’ve just recently made a little resource that allows you to restrict your game’s aspect ratio into 4:3.
I’ve seen a couple forum posts relating to the 4:3 aspect ratio but none of them seemed to offer a solution that allows it to scale with different screen sizes, and the one’s that did never provided any solid resource.
Video recorded in 1920x1080. Also sorry for the horrid quality I have no idea why it’s like that LOL
A few things to note:
Probably not a perfect 4:3 aspect ratio? But I’d say it’s close enough to not really matter too much.
There’s probably more elegant and better ways to execute this, but this is the way I figured out to be easiest.
Interesting! Have you tested this on mobile? Some UIs don’t extend to the edges on some devices unless certain properties are tweaked in the ScreenGui - ClipToDeviceSafeArea perhaps. You may wish to account for this if not already.
omg yes! I love the 4:3 aspect ratio (I still daily a DELL 2007fpb)
The only problem with your implementation (and many others) is that the actual visible viewport wildly changes when you move the window especially when the Y axis is larger than the X and I discovered it to be the 120 degree FOV limit ROBLOX puts on. Indeed the screen is now at 1.333333333 (4/3) but in 3D view, it is representing some whacky resolution.
From an extract in one of my posts:
I used a CFrame camera distortion trick to change the aspect ratio instead which means that I can go above the 120 degree limit. Here it is in action:
Now you can play Roblox at a 4:3 aspect ratio even on a vertical Samsung 200 inch ultra-ultrawide LED digital sign near your local airport.
how exactly would i adjust other ui elements to the new aspect ratio when used as something that can be turned on and off (also doing this for other aspect ratios )
also also doing a slide effect when enabled
im um, actually not entirely sure unfortunately. im sure its simple enough though? but of course itd probably require changing some properties of the UI elements with scripts if youre hotswapping aspect ratios…
i never really considered that people would apply this to projects with already existing UIs so i never thought to make it easy to do that, but in hindsight thats my fault LOL
maybe ill update this resource at some point to allow for easier “plug-and-play” with existing UIs and this system.
i just did it by storing the elements off screen and tweening them in when needed (the ui part still stinks ) (also i really like how you used plug and play here )