08.11.2012 Views

Designing Games with Game Maker - YoYo Games

Designing Games with Game Maker - YoYo Games

Designing Games with Game Maker - YoYo Games

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To create a background resource in your game, use the item Create Background in the<br />

Resources menu or use the corresponding button on the toolbar. The following form will pop<br />

up.<br />

Press the button Load Background to load a background image. <strong>Game</strong> <strong>Maker</strong> supports many<br />

image formats. Background images cannot be animated! The checkbox Transparent indicates<br />

whether or not the background is partially transparent. Most backgrounds are not transparent<br />

so the default is not. As transparency color the color of the leftmost bottommost pixel is used.<br />

You can change the background or create a new one using the button Edit Background.<br />

Be careful <strong>with</strong> large backgrounds. A number of graphics cards cannot handle images that are<br />

larger than the screen. So preferably keep your background images smaller than 1024x1024.<br />

Defining objects<br />

With the resources you have seen so far you can add some nice images and sounds to the<br />

game, but they don't do anything. We now come to the most important resource of <strong>Game</strong><br />

<strong>Maker</strong>, the objects. Objects are entities in the game that do things. Most of the time they have<br />

a sprite as a graphical representation so that you see them. They have behavior because they<br />

can react to certain events. All things you see in the game (except for the background) are<br />

objects. (Or to be more precise, they are instances of objects.) The characters, the monsters,<br />

the balls, the walls, etc. are all objects. There might also be certain objects that you don't see<br />

but which control certain aspects of the game play.<br />

Please realize the difference between sprites and objects. Sprites are just (animated) images<br />

that don't have any behavior. Objects normally have a sprite to represent them but objects<br />

have behavior. Without objects there is no game!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!