In the Global Games Settings of GameMaker: Studio, you can find
the different setup options related to how your final game will
look when you create the executable for the target platform. Here
we will look at the Windows 8 tab. It is split into three
sub-tabs, each of which is explained in the sections below:
This section is
where you should set up the details of your app like its name and
any associated graphics. Below is a list of all the available
options and what they represent:
- Display Name: Specifies the friendly name for the app that is displayed to users (this string is localizable).
- Package Name: This is the name of the package that you have created and should match that used for the Developer key that you have created for the game (see the Installation Sub-Tab, below).
- Package Display Name: This is the "short name" of the package and should Ideally be the same as the Display Name
- Publisher Display Name: This is the name of your company or the person that you wish to associate as the games publisher.
- Version: The version number of your game.
- Orientations: Specifies the orientations in which the game would prefer to be shown for the best user experience. The available options are:
On devices that can be rotated, such as tablets, the game won't be redrawn for orientations that aren't specified with this property - for example, the game won't rotate if the device is rotated to a Portrait orientation but the property specifies only Landscape and Landscape-flipped orientations. On devices that can't be rotated, a game might be shown in that device's default orientation, and the game's preferred orientation will be ignored, however, your game's preferred rotation will be honored on devices on which a rotation lock has been activated. These orientation preference choices apply to both the splash screen and the game itself every time a new instance is launched.
- Splash Screen: This is the screen that will be shown when you start your game, and it cannot be larger than 620 x 300 pixels. Click on the Update button to change it, then select set the Background colour for it.
- Logos: These are the Windows8 tile and icon logos that your game will use. It is worth noting that these images can be transparent *.png files, in which case they will be drawn over the Background colour specified in the appropriate section.
NOTE: The background colour specified here also applies to the button colour in any app-owned dialog boxes and to the App Description page in the Store!
- - The large image is the wide version of the logo image, which appears when the tile appears in its wide format and should be 310 x 150 pixels. If this image isn’t provided, the tile can display only in the square format and can’t accept notifications based on wide template types. Since the user can decide which format the tile uses it is recommended that you include a wide logo image. Also note that if a wide logo image is provided, the tile will appear initially in its wide format.
- - The square image specifies the smaller logo that appears in the tile to identify the game in the normal sized, square tile. It should be 150 x 150 pixels.
- - The next image is the store icon, which is a 50x50 pixel image.
- - The final small icon is the logo image that appears next to the App name in the search bar and other areas of the UI.
- Foreground Text: Sets the value of the text colour relative to the background colour on the app’s tile in Windows. The value is either “Light” or “Dark”.
WARNING: If you have any functions in your
Windows 8 game that require an internet connection, like an open
URL call for example, then you must have the
"internetClientServer" capability ticked for the game.
Microsoft also specifies that if you use this capability you
pane of your Windows 8 game (see here for further details). This can be done
using the Settings Charm
Functions in your game.
Here is the option
to set the size of the Texture Page. The default (and most
compatible) size is 1024x1024, but you can choose from anywhere
between 256x256 up to 2048x2048. 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)
NOTE: Be aware that the larger the size of the texture page, the less compatible your game will be.
You can also set the way that your game should react to being scaled in any way (either by dragging the window borders or by full screening it). This can either be keep Aspect Ratio or Stretch. There are also extra options for Native Windows 8 apps, which permit you switch on or off interpolation and v-sync for the game.
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.
Studio supplies two default Developer Keys for Windows8
modules), but it is recommended that you generate your own and
point to it here. To do this, create an empty project in Visual
Studio Express then store somewhere safe a copy of the
automatically generated *.pfx (the developer key) that it
will have included in the empty project. You should then link that
*.pfx file here.
After linking to the file, you should click on the associated Install button and then follow the instructions in the command prompt that will open. If you do not do this then using the Run/Debug buttons (or hitting F5) will fail and your game cannot be tested (however, if you use Create Application the certification installation process will automatically be launched if the *.pfx has yet to be registered).
Finally, for Native Windows 8 development there is a drop down menu where you can select the device to target, which can be either x86 or ARM.
NOTE: When it comes to uploading your app to the store you will need to get the correct *.pfx for your title. This is done via associating your app with the Windows Store in Visual Studio which causes Visual Studio to generate a new *.pfx specifically for the app. It is also worth noting that you can associate any app with the Windows Store in Visual Studio, meaning you can associate a blank project with the Windows Store app and simply copy the generated pfx to a safe location which can then be used within Global Game Settings.
Depending on what you want your game to have access to, you may also need to check the permissions from the Permissions tab. If your game uses (for example) the function url_open() then you would need to check the "Use Internet" box. The available permissions are:
- Use Internet: Marks the game as having access to internet.
- Use Search: Marks the game as having access to the Windows8 search functions.
- Use Microphone: Marks the game as having access to the microphone of the device.