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.

Tiles can be placed in layers at different depths. At the bottom you see the current depth.<br />

Default this is 1000000 which is normally behind all instances. So the instances will move in<br />

front of the tiles. You can use the Add button to add new tile layers, each <strong>with</strong> a different<br />

depth. Negative depths can be used to put tiles in front of instances. If you also give objects<br />

different depths you can put them between different tile layers. If you press Delete you delete<br />

a tile layer together <strong>with</strong> all its tiles. (There must always be at least one layer.) If you press<br />

Change you can change the depth of a tile layer. If you give it the same depth as another<br />

layer, the layers are merged.<br />

Using tiles is a powerful feature that should be used as much as possible. It is much faster<br />

than using objects and the tile images are stored only once. So you can use large tiled rooms<br />

<strong>with</strong> very little memory consumption.<br />

Views<br />

Finally, there is a tab labeled views. This gives a mechanism for drawing different parts of<br />

your room at different places on the screen. There are many uses for views. First of all, in a<br />

number of games you want to show only part of the room at any time. For example, in most<br />

platform games, the view follows the main character. In two-player games you often want a<br />

split-screen mode in which in one part of the screen you see one player and in another part<br />

you see the other player. A third use is in games in which part of the room should scroll (e.g.<br />

<strong>with</strong> the main character) while another part is fixed (for example some status panel). This can<br />

all be easily achieved in <strong>Game</strong> <strong>Maker</strong>.<br />

When you click the tab labeled views the following information will show:

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

Saved successfully!

Ooh no, something went wrong!