No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
|height||The maximum height in pixels for the game window.|
This function can be used to set a maximum window height for
your game. If you enable the window resize option in the Global
Game Settings for the target platform, then the player can resize
the game window to any size they wish, however by using this
function you can limit the maximum height to the size you specify.
If you wish to go back to the default behaviour (ie: no mimimum),
then use a value of -1.
NOTE: This function is only available on the Windows, Mac OSX and Linux platforms.