Creating Rooms

Rooms are where everything in your game happens, and this section outlines how you create them and add instances to them.

All games that you make in GameMaker: Studio need at least one room to run (but can have many, many more) , and a room is just a space where you place instances of the objects that make up your game. When you first create a room in your resource tree you will be presented with a new window with which to edit its properties, something like this:



As you can see, most of the room editor is taken up with the a visual representation of the room itself, where you place the objects, tiles and backgrounds for your game, but around the edges there are a number of buttons, tabs and information bars that help you to create your game.

The Toolbar

At the top of the form there is the tool bar, which has a number of buttons that refer to different actions in the room editor.

The MiniMap

As you can imagine, this is a miniature representation of the whole room. you can click and drag the current area around on the minimap and the main view will scroll and pan to match, or you can just click on the minimap to have the main view jump to that position.

The Info Bar

While placing tiles and instances within a room, you often need extra information about them at a glance. For that you have the Info Bar which shows the current mouse position within the room, the id and object_index of the instance that the mouse is currently over, and further context sensitive information like whether the instance has code or not in its room create event.

The Tabs

At the left you will see six tabs that open separate sub-pages in the area on the left, but in this section we will only deal with the three most important ones: The settings tab, the backgrounds tab and the objects tabs. Further information on these tabs can be found in the sections below:

  1. Settings
  2. Backgrounds
  3. Objects

For information on the other tabs as well as the advanced functions available to you in the room editor please see the section - Advanced Use: More About Rooms.


Back: Using GameMaker: Studio
Next: Game Information
© Copyright YoYo Games Ltd. 2018 All Rights Reserved