RetroDECK icon indicating copy to clipboard operation
RetroDECK copied to clipboard

Decoration scaling and viewport misplacement issues on different resolutions

Open XargonWan opened this issue 2 years ago • 3 comments

  • On desktop mode if the resolution is not 1280x800, the viewport is showing elswehere.
  • The borders are not correctly scaled
  • on higher resolutions the borders are not appearing at all (maybe hidden outside the screen?)

image

XargonWan avatar Sep 06 '23 07:09 XargonWan

custom_viewport_x and custom_viewport_y are set in pixels Some settings could be set in 0-1 points (0.5 being center of a screen), but it doesn't work for viewport positioning

WallK avatar Sep 06 '23 12:09 WallK

ES-DE has the option to execute some custom scripts on some events, such as on game start. Instead of having some premade borders and shaders descriptors we can generate them on the go calculated for the current screen resolution.

XargonWan avatar Sep 06 '23 18:09 XargonWan

Yes, it shouldn't be a very complicated calculation after defining some rules I will pick up POC for one platform

WallK avatar Sep 07 '23 05:09 WallK