Ci sono un certo numero di impostazioni del tuo gioco che puoi cambiare.
Queste cambiano il formato della finestra principale, le impostazioni di alcune opzioni grafiche, hanno a che fare con le impostazioni dell’interazione, il caricamento delle immagini, costanti e informazioni sull’autore del gioco.
Inoltre puoi indicare quali file devono essere inclusi nei giochi eseguibili e come saranno trattati gli errori.
Puoi cambiare le impostazioni con doppio clic su Global Game Settings nell’albero delle risorse a sinistra sullo schermo.
Sono suddivise in un certo numero di schede.
Alcune opzioni sono disponibili solo in modalità avanzata.
Opzioni grafiche
In this tab you can set a number of options that are related to the graphical appearance of your game.
It is normally useful to check out the effects of these options because they can have a significant effect on the way the game looks.
Remember though that different users have different machines.
So better make sure that the settings also work on other peoples machines.
Start in fullscreen mode
Scaling
There are three choices.
- You can indicate a fixed scaling. The room is drawn scaled with the given amount in the center of the window or the center of the screen. 100 indicates no scaling. You typically use fixed scaling when your sprites and rooms are very small.
- The second option is scale the room such that it fills the window or screen but keep the aspect ratio (ratio between width and height) the same.
- The third option is to scale such that the window or screen is completely filled. This can lead to distortions in the image (in particular in windowed mode when the user can resize the window).
Interpolate colors between pixels
This in particular is the case when they are scaled, rotated, or placed at non-integer positions.
Interpolation makes movement smoother but can also give a blurred effect.
Also for tiles it can lead to cracks between them, if not carefully designed.
Color outside the room region
Here you can specify the color of the area.
Allow the player to resize the game window
Let the game window always stay on top
Don't draw a border in windowed mode
Don't show the buttons in the window caption
Display the cursor
Turning it off is normally faster and nicer.
You can easily make you own cursor object in Game Maker.
Freeze the game when the form looses focus
Disable screensavers and power saving actions
This is important as these might destroy certain graphics aspects of the game (like surfaces).
Risoluzione dello schermo
In this tab you can set the screen resolution in which your game must run. By default the resolution is not changed. But sometimes you want to run the game in a lower resolutions or you want to set the frequency of the monitor to make sure the timing in the game works correctly. If you want to change the resolution you must first check the box labeled Set the resolution of the screen.
There are three things you can change.
First of all there is the color depth.
Secondly there is the screen resolution, the number of pixels (horizontal and vertical) on the screen.
Finally you can change the refresh frequency.
There also is a setting here to Use synchronization to avoid tearing.
Altre opzioni
Here you can set a number of additional options. First of all you can set some default keys:
Let <Esc> end the game
Treat the close button as <Esc> key
Let <F1> show the game information
Let <F4> switch between screen modes
Let <F5> save the game and <F6> load a game
Let <F9> take a screenshot of a game
Also you can set the priority of the game process.
This priority indicates how much processor time is allotted to the game. In normal mode the operating system tries to give processor time to each process that needs it in some reasonable way. The higher you put the priority the more time is allotted to the game, making it run more smoothly and faster. But other processes get less time (also Windows processes so even the mouse might not move anymore). Use this with care.
Finally, you can set the version information of the game.
You should give your game a version number that consists of four parts:
- the major version
- the minor version
- the release number
- the build number.
Also you should provide
- the name of the company (you)
- the name of the product
- the copyright information
- a very brief description.
All these fields should be at most 64 characters long.
Opzioni di caricamento
Here you can indicate what should happen when loading a game. First of all you can specify your own loading image. Secondly, you can indicate whether to display a loading progress bar at the bottom of the image. You have three options here. Either no loading bar is displayed, or the default bar is displayed or you can specify two images: the background of the loading bar and the foreground. You can indicate whether the front loading bar must be scaled (default) or clipped while it becomes longer. In the second case, make sure enough the image is large enough to fill the bar. (Note that both images must be specified in this case, not just one.)
It is possible to indicate that the loading image must be transparent. In this case the left bottom pixel of the background image is used as transparent color. Also the alpha translucency can be indicated. A value of 0 means fully translucent. A value of 255 means fully opaque. (Both only work under Windows 2000, XP, or later.)
Secondly, you can indicate here the icon that should be used for stand-alone games. You can only use 32×32 icons. If you try to select another type of icon you will get a warning.
Finally you can change the unique game id. This id is used for storing the highscore list and save game files. If you release a new version of your game and don’t want to take over the old highscore list, you should change this number.
Opzioni sugli errori
Here you can set a number of options that relate to the way errors are reported.
Display error messages
Write error messages to file game_errors.log
Abort on all error messages
Treat uninitialized variables as 0
Informazioni sul gioco
Qui puoi indicare l’autore del gioco, la versione del gioco, e alcune informazioni sul gioco.
Inoltre è memorizzata la data dell’ultima modifica. Questa è utile se stai lavorando con altre persone sullo stesso gioco o se realizzi una nuova versione.
Le informazioni non sono accessibili quando il gioco è in esecuzione.