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.

It can now be indicated whether or not the Close button must behave like the escape key or<br />

not. If not, there is a new event in the Other events that happens when the user clicks on the<br />

Close button. So you can now assign different behavior to the Close button and to the escape<br />

key.<br />

Room transitions<br />

The room transition mechanism is changed and extended, giving you more control over the<br />

transitions and adding many new transitions, like fade-ins, pushing the images, blending room<br />

images, rotations, etc. It is now even possible to define your own scripts to do the transitions<br />

(but this is rather advanced stuff). An extension package <strong>with</strong> additional room transitions is<br />

provided.<br />

Data structures<br />

A number of additional functions have been provided to deal <strong>with</strong> data structures. For<br />

example, data structures can now be copied, there are functions to write data structures to a<br />

string and read them back. This string can then used to e.g. save the datastructure to a file.<br />

Also there are more functions for grid data structures to e.g. copy and add parts of grids.<br />

Including files<br />

The mechanism to include files in the executables has been considerably extended. For each<br />

file it can now be indicated under what filename it must be stored and where it must be<br />

stored. There is a choice now whether or not to include the files in the editable version of the<br />

game. Also there are functions to export the files at a different moment than the start of the<br />

game.<br />

Adding sprites and backgrounds <strong>with</strong> alpha channel<br />

There are now functions sprite_add_alpha() and sprite_replace_alpha() to add or replace a<br />

sprite from a file that has an alpha channel (such as png files) to get nicer transparancy<br />

effects. Similar functions exist for backgrounds.<br />

New registration mechanism

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

Saved successfully!

Ooh no, something went wrong!