SetRenderScreenSize
From OxeyeWiki
video.setRenderScreenSize(width, height) | ||
Modifies the size of the screen that Daisy renders to, without changing the physical size of the game window. This can be used to fake screen zooming effects, since the render area can be made bigger or smaller than the physical size (making it bigger will zoom out, making it smaller will zoom in). It's recommended, but not necessary, to maintain aspect ratio when changing render size. | ||
Parameter | Expected Type | Description |
width | An integer | The new render screen width. |
height | An integer | The new render screen height. |
Returns | ||
Returns nothing. |
Example
video.setRenderScreenSize(screenWidth * scale, screenHeight * scale)