Editing individual images

GameMaker has a built-in image editor that can be used to edit individual subimages of sprites and background images. To call the editor for a subimage of a sprite, select the subimage in the sprite editor and choose Edit Image from the Image menu (or double click on it). To edit a background, open the background properties for and press the button Edit Background.

The built-in image editor is pretty powerful and especially suited for creating sprites and backgrounds for GameMaker. However, it does not have all the features of full-blown paint and drawing packages. The buitl-in editor is primarily meant for making changes to images, not for creating sprites and backgrounds from scratch. For this you probably want to use a separate paint program, save the images as PNG files, and load them into GameMaker. You can also set an external image editor in the preferences.

When you start the image editor it will typically looks as follows:

The form shows the image in the middle and a number of drawing tools at the left. Below there you can set certain properties of the drawing tools. These will change depending on the tool you select (see below). In the middle you see the current image. You can zoom in and out using the buttons on the toolbar. At the right there is information about the colors with which the draw. You can set a separate color for the left and the right mouse button. You can change these by clicking with the left or right mouse button in the color selector images. Also you can change them by clicking in the boxes at the top that repesent the colors. Below the colors you see the Opacity. This indicates how opaque or transparent the color is. When you set it to 255 the pixels your draw are fully opaque. When you set it to 0 they are fully transparent. Normally when you draw partially transparent pixels they are blended with the current color. By setting the Color Mode to Replace, the pixels will be replaced with the new color. Finally at the bottom of the form there is a statusbar with some infomation about the current drawing tool, the position of the mouse, the size of the image, and the amount of memory it requires.

Drawing tools

The following drawing tools are available (from left to right, top to bottom).

Menus

A number of further commands is available through the menus. For some of these there is a corresponding button on the tool bar.

File menu

Edit menu

Here you find the usual commands to Undo the last change and Redo the last undo, to delete, cut, or copy the current selection to the clipboard, to paste the image on the clipboard as a selection in the image, and to select all. (Note that when using the clipboard, transparency information might be lost.) Two additional commands require a bit more explanation.

View menu

Transform menu

This menu contains the same transformation commands as in the sprite editor. You can read about their function there. Note that Resize Canvas, Stretch, and Crop are not available when the image is part of a sprite with multiple images, because in that case we cannot change the size of the image.

Image menu

This menu contains the same commands as in the sprite editor. You can read about their function there. Note that some commands are only available in the Standard Edition.