The Windows Tab

This section deals with the Windows tab of the Global Games Settings Window.

This Windows tab is split into three separate sub-tabs (accessible on the left of the window) to make changing and updating the information for your game clearer and less complicated. These tabs are explained in the following sections.

General

The General tab for Windows games is where you should supply the necessary information for Windows to display when your game has been installed and is running. This information goes in the Version Information section, and should be filled out completely.

The other two sections of this tab are related to the way your final game is shown once started, with the Splash Screen being the graphic that is shown while your game is loading, which can be enabled or disabled using the appropriate check-box, and the Options controlling whether you should display the standard Windows cursor or not and the icon that your game should show. You may also choose where the game bundle is to be installed to, either the "%localappdata%" or "%appdata%" folders.

NOTE: Being able to change or enable/disable the splash screen is a Pro Only feature.

The final option is for setting the Windows Sleep Margin. This option is related to reducing stuttering when running your game on specific systems. Basically, if your game is running faster than your room speed GameMaker: Studio will "sleep" for the remaining time, but this sleep can be quite inaccurate and you can often end of sleeping for longer than necessary, causing your frame to take longer which causes stuttering. To get around this we can sleep for less time, then sit in a tight loop for the remainder of the time to make it more accurate - although the problem with sitting in a loop is that it causes CPU usage to increase, which in turn can cause your CPU temperatures to rise and your fan to run faster. By default, this value is set to 1, and in 99.99% of the cases you'll be fine with this, but for low end machines or for machines with a lot of background processes running this may not be an ideal solution and a value of 5 or 10 may be required. Note though that this is very much a system specific configuration and what works on your build machine may not be appropriate for another user, and as such if in doubt leave it set to 1.

Graphics

The graphics options are those that you should configure to determine how your game will use the graphics card of your target Windows PC. The following options are included for you to modify:

The following are considered advanced options for rendering to the Windows target module and should generally be left at their default values. However should you be experiencing graphics issues, in particular with older machines, then you may benefit from changing these:

WARNING! Switching off the application surface will disable all the scaling options set in the Global Game Settings until it has been switched back on again. See The Application Surface for further details.

Finally there is the option to set the size of the Texture Page. The default (and most compatible) size is 2048x2048, but you can choose from anywhere between 256x256 up to a whopping 8192x8192! There is also a button marked View which will generate the texture pages for this platform and then open a window so that you can see how they look. This can be very useful if you wish to see how the texture pages are structured and to prevent having texture pages larger (or smaller) than necessary.

NOTE: Be aware that the larger the size of the texture page, the less compatible your game will be.

Installer

Windows games are created with an installer (previous versions of GameMaker just made an *.exe) and here you can define the various settings and graphics that GameMaker: Studio will use when creating it. First of all we have the graphical options which will define the look of the installer itself:

You can also point to a specific License Agreement (an example is supplied with GameMaker: Studio) and a custom NSI script (details here) should you need one.


Back: Global Game Settings
Next: The Windows UWP Tab
© Copyright YoYo Games Ltd. 2018 All Rights Reserved