Hi!
I'm trying to figure out aspect ratios. I've read the official docs and watched some tutorials online, but I still can't make Godot work the way I (and the artist) intend. We are making a simple 2D platformer.
So, the max resolution of my game should be 4K. Aspect ratios can be different, so we took a safe bet of the maximum res to be 3840x2880 (4:3). If the player's resolution is lower e.g. 1920x1080(16:9), the game should:
- shrink to fit the width (1920x2560)
- cut 740px from top and bottom
From what I've read keep_width should to the trick, but for some reason, it doesn't stretch to the full width.
Here I have a texture 3840x2880 with scales on it, displayed in canvas_items stretch mode and keep_width aspect setting. As you can see there are black areas on both sides.
How can I fix this?