Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

window_set_max_size

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(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

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /