GameMaker (2.3)
Icon

Window Maximize and Minimize

烟汐忆梦_YM

You must be logged in to obtain assets

Description

If you want to have control over the game window on your Windows platform, this extension might be helpful! You can freely disable or enable whether the user can maximize/minimize or even close the window (please note that disabling the close button may prevent the user from closing the window in the usual way. Make sure you provide alternative ways to close the window, such as adding a custom close button in your program, before disabling the close button).

You can use the window_is_maximization() function to check if the window is in a maximized state.

You can use the window_is_minimization() function to check if the window is in a minimized state.

You can use the window_set_state(state) function to set the window's state. The extension provides three macro constants: WINDOW_STATE_NORMAL, WINDOW_STATE_MAXIMIZE, and WINDOW_STATE_MINIMIZE, which allow you to adjust the window's maximized/minimized/normal state.

You can use the window_maximize_set_enable() function to set whether the user is allowed to maximize the window.

You can use the window_minimize_set_enable() function to set whether the user is allowed to minimize the window.

You can use the window_close_set_enable() function to set whether the user is allowed to close the window (although, the user can still close the game through other means).

You can use the window_maximize_get_enabled() function to check if the user is allowed to maximize the window.

You can use the window_minimize_get_enabled() function to check if the user is allowed to minimize the window.

You can use the window_close_get_enabled() function to check if the user is allowed to close the window.

Additionally, this extension only supports Windows x64 or Windows x86 systems.

Author's BiliBili account URL: https://space.bilibili.com/481430814/dynamic

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 0.2.0. Published July 5, 2023

Allows the user to turn on/off the Windows maximization button.

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait