Menu

#10 Fix menus for non-4:3 aspect ratio

future
open
qubodup
None
1
2019-07-18
2015-05-22
qubodup
No

Menus are scaled to the entire window. Instead the menus should keep 4:3 aspect ratio, scaled to fit height or width and centered. This seems to be happen to the credits, so that's the best place to start investigating. Perhaps its implementation can be applied to the rest of the menu as well.

Discussion

  • Andrei

    Andrei - 2015-07-27

    This was partially accomplished: as of the WIP 0.6.3 version, the menus are now kept at 4:3, centered, and scaled to fit height.

    I'll look into scaling to fit width if users with exotic resolutions show up complaining.

     
  • qubodup

    qubodup - 2019-07-18

    Thanks.
    This looks good. Centered 4:3 is probably better than using all of 16:9 and having buttons at the edges for example.

    Screenshot tests: https://imgur.com/a/CX8oIyy

    X:Y ratios of at most 1.333 work great.

    Maybe it'd be a nice-to-have to support 5:4 (old 1280x1024 screens) by scaling to fit both width and height.

    Probably no need to support exotic aspect ratios (non- 5:4/4:3/16:10/16:9).

     

Log in to post a comment.

Auth0 Logo