I'm not sure how exactly it would work in code, but for resizing images, you'd want to
- Figure out which dimension of the image is larger (is it really wide, or really tall?)
- Grab the resolution setting (ex. if the player set it to 1600x900)
and then just resize the image so it maintains its ration, but the larger dimension fits within its respective dimension - so if the image is taller than it is wide, make it so the height of the image matches the height of the game window, and keep the height:width ratio of the image.
Hopefully that's not terribly complicated to actually implement, lmao