-
-
Notifications
You must be signed in to change notification settings - Fork 18
window_set_max_size
drewmccluskey edited this page Feb 12, 2019
·
3 revisions
Sets the game windows max size
window_set_max_size(size)
Argument | Description |
---|---|
Size size |
What max size should be set |
Returns: void
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.
window_set_max_size(new Size(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.
Back to window-functions