SetScreenSize

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '{{VideoMethod | 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 re...')
m (copy-paste error)
 
Line 6: Line 6:
|
|
{{MethodParam|width|An integer|The requested screen width.}}
{{MethodParam|width|An integer|The requested screen width.}}
-
{{MethodParam|width|An integer|The requested screen height.}}
+
{{MethodParam|height|An integer|The requested screen height.}}
|
|
No return values.
No return values.

Latest revision as of 19:16, 4 March 2009

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.
height An integer The requested screen height.
Returns

No return values.

Daisymoon Video Lib

Example

   video.setScreenSize(800, 600)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox