SetScreenSize
From OxeyeWiki
video.setScreenSize(width, height) | ||
Resizes the window to give a new display screen size. Note that most monitors only are able to display a certain number of resolutions when the game is running in full-screen. Some common 4:3 resolutions are 640x480, 800x600, 1024x768 and 1600x1200. 1280x1024 is a common "native" monitor resolution. | ||
Parameter | Expected Type | Description |
width | An integer | The requested screen width. |
width | An integer | The requested screen height. |
Returns | ||
No return values. |
Example
video.setScreenSize(800, 600)