You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drewmccluskey edited this page Feb 12, 2019
·
3 revisions
window_set_max_size
Sets the game windows max size
Syntax:
window_set_max_size(size)
Argument
Description
Size size
What max size should be set
Returns:void
Description:
This function allows you to set the max size of the game window. It is very useful for not allowing an application window to be any larger than the current graphics.
Example:
window_set_max_size(newSize(200,200));
The above code will set the window size to 200px width and 200px height and not allow it to be any larger than that.