Studio › Manual › Rooms

Room settings

With a 2D room open and nothing selected, the inspector shows the room's own settings, as GameMaker's room inspector does. Every change is written to the room .yy as GameMaker writes it and is one step in Edit > Undo.

  • Size: type the width (W) and height (H) and press Return. The nine squares next to them are the anchor: where the room's content stays when the size changes. Top-left (GameMaker's own behaviour) leaves everything where it is; any other square moves the instances, the sprites on asset layers and the tiles with it (tiles by whole cells), so growing the room with the bottom-middle anchor adds space above and on both sides. Tile layers' maps always grow or shrink to cover the room.
  • Persistent: the room keeps its state when the game leaves it and comes back.
  • Clear Display: GameMaker's Clear Display Buffer, clearing the screen every frame before the room draws.
  • Room speed is not a room setting in GameMaker 2 and later: the game's frame rate is in Game Options.
  • Creation code, Parent Room, Views and Cameras, Physics and Instance Creation Order have topics of their own.
  • Room > Room Settings has Add Room Creation Code, Add Path Layer, Add Effect Layer, Add Background Layer, Enable Viewports and Persistent.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.