Home | Customize | Blog | Extras | Log In | Info
Manual | D&D icons | GML Parser | Archive | Iso City
Username: Password:  
About | Features | Directory | Banners | Contact

Designing Games with Game Maker
Designing Games with Game Maker

Backgrounds

The following functions will give you information about a background:

background_exists(ind) Returns whether a background with the given index exists.
background_get_name(ind) Returns the name of the background with the given index.
background_get_width(ind) Returns the width of the background with the given index.
background_get_height(ind) Returns the height of the background with the given index.
background_get_transparent(ind) Returns whether the background with the given index is transparent.
background_get_smooth(ind) Returns whether the background with the given index has smoothed edges.
background_get_preload(ind) Returns whether the background with the given index must be preloaded.
In certain situations you might want to save the bitmap corresponding the background to a file. For this the following function can be used:

background_save(ind, fname) Saves the background ind to the file with the name fname. This must be a .bmp file. Only available in the Pro Edition.
« Sounds | Fonts »

Search Search


Alternative versions Alternative versions

You can also read this manual on one single long page (± 1.5 mb)

Also available in: Dutch French German

ZIP Download helpfile

Advertisement Advertisement

Game Maker Manual