Designing Games with GameMaker
Rooms
The following functions will give you information about a room:
room_exists(ind) Returns whether a room with the given index exists.
room_get_name(ind) Returns the name of the room with the given index.
Note that, because rooms change during the playing of the game, there are other routines to get information about the contents of the current room.
« Objects | Changing resources »
Alternative versions
You can also read this manual on one single long page (± 1.5 mb)
Also available in:
Download helpfile
Also available in:
Download helpfile