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.

images file formats are supported, e.g. .bmp, .jpg, .tif, and .gif. For a gif file the number of<br />

subimages is automatically decided based on the number of subimages in the gif file. Other<br />

settings for the sprite, e.g. whether it is transparent or not, are not changed. You can use this<br />

action to avoid storing all sprites in the program itself. For example, at the beginning of a level<br />

you can replace sprites by the actual character sprites you want to use. DON'T change a sprite<br />

that is at that moment being used in an instance in the room. This might give unwanted<br />

effects <strong>with</strong> collisions. This action is only available in the Pro Edition.<br />

Replace Sound<br />

With this action you can replace a sound by the contents of a file (.wav, .mid, or .mp3). You<br />

specify the sound and the filename. This avoids having to store all the sounds in the game<br />

itself. For example, you can use different pieces of background music and pick the one you<br />

want to play. DON'T change a sound while it is playing. This action is only available in the<br />

Pro Edition.<br />

Replace Background<br />

With this action you can replace a background by the contents of a file. Many different images<br />

file formats are supported, e.g. .bmp, .jpg, .tif, and .gif. You specify the background and the<br />

filename. This avoids having to store all the backgrounds in the game itself. DON'T change a<br />

background that is visible. This action is only available in the Pro Edition.<br />

More control actions<br />

Some additional control actions are available in advanced mode. The following actions are<br />

added:<br />

Execute Script<br />

With this action you can execute a script that you added to the game. You specify the script<br />

and the maximal 5 arguments for the script.<br />

Call Parent Event<br />

This action is only useful when the object has a parent object. It calls the corresponding event<br />

in the parent object.<br />

More draw actions

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

Saved successfully!

Ooh no, something went wrong!