Closed jaeheonshim closed 4 years ago
That sounds like a better default, but maybe we want to detect resizing and have the window resize itself to the new size with the aspect ratio kept? Not sure if I explained myself. If the window is 500x1000
and the user changes it to 1000x1000
, it would change its own size to 1000x2000
. I don't know if it's possible yet but what do you think?
Actually, I noticed that the resizing issue was only apparent on the MainMenuScreen. I set the viewport of the Stage on the MainMenuScreen to a FitViewport so that the window can be resized without streching any of the images.
Thanks, if you think it's good this way it probably is.
The game would stretch and look really bad if it was resized when running on desktop, so I disabled resizing in the DesktopLauncher class.