Global Command: setWindowSize
From The Official Visionaire Studio: Adventure Game Engine Wiki
(Redirected from SetWindowSize)
Set the size of the game window. Only applicable, if the game is running in window mode.
Syntax
setWindowSize(size)
Parameters
Parameter | Type/Structure | Description | ||
---|---|---|---|---|
size | table | x (int) | The new width of the game window. | Pass the new window size as an associative array containing the elements x and y. |
y (int) | The new height of the game window. |
Return values
none
Examples
Example 1: Resize the game window to 640 x 480 px.
setWindowSize({x=640,y=480})