Forum Archive

Screen resolution with retina display

brumm

Is it possible to set the screen resolution from 1024 x 748 to 2048 x 1496?

scene.get_screen_scale() => 2.0

Setting self.size and self.bounds to a higher resolution changed the values but the resolution is still the same.

def setup(self):
  self.size = scene.Size(2048.0,1496.0)
  self.bounds = scene.Rect(0,0,2048.0,1496.0)
omz

Why do you want to change the resolution? You can use 0.5 points to refer to physical pixels on a retina device.

brumm

On one hand it would be easier to use the real resolution, but on the other hand it makes sense to use a scale factor for different screen resolutions.