Scaling 4:3 Aspect Ratio!

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.

[ MODEL LINK ]

Thanks, and have fun!

22 Likes

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.

2 Likes

Don’t worry! I have!


5 Likes

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:
1fb5b83471a3f5d1b6f5f76da526649046da4df2

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.

If it ain’t broke, Don’t fix it

2 Likes

woah sick! i didnt think it was possible to actually scale the camera viewport itself like that… so cool

1 Like

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 :eyes:)
also also doing a slide effect when enabled :eyes:

2 Likes

oh oops i forgot to reply to this when i saw it!

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.

1 Like

i just did it by storing the elements off screen and tweening them in when needed (the ui part still stinks :pensive_face:) (also i really like how you used plug and play here :worm::worm::worm:)

1 Like

4:3 stretched when? :eyes:

Would be pretty cool (or funny) to play at a resolution like that.