An editor profile is a small JSON file beside a GameMaker project, <Game>.editor.json (beside <Game>.yyp; a project with several .yyp files lists them in the profile's game.projects), that tells Studio what the game's objects are, how to show them, what their settings mean, which layers hold what, how its block grids work, what to check and how to play a level. GameMaker ignores the file; any game can ship one. Studio reads it and never writes it.
- Which rooms: the profile's
rooms.match(room name patterns likerm_map_*, or rooms holding its level settings object) open in the 3D view even with noo_r3d_scene;rooms.excludekeeps menus out. The room inspector's header names the game and the profile file. - Looks: each object is drawn by its profile look: a model (picked by a setting such as
kind: a coin, a diamond, a tank), a plain vertex buffer, a coloured marker (box, cylinder, sphere, ring, arrow, beam, flag, diamond) sized from its settings, a zone's box (drawn as its edges; picked through its inside when nothing else is under the pointer), a picture standing up (or a picture made of tiles, as signs and cards are), or a small handle. Links are drawn as lines: a moving block's rail to its end, a teleporter's line to the pad it sends to, a trigger's dashed lines to the blocks its script names, a patrol, a ladder's height, the bot's route. - Layers: a new instance goes on its object's layer (
layer, else the layer thatholdsit). Layers the profile marks locked (the level settings, the block grids) start locked, so they can't be dragged by accident: unlock them in the layer list. Layers not in the profile are kept exactly as they are. - Saving: only what changed is written, as the profile's
creation_coderules say: a setting's own line only, a default never added to a file that leaves it out, instance names kept (new ones are GameMaker-style with 12 hex digits),xandywritten as the profile says (fractional_xy: "add_lines": whole numbers in the room and the rest as anx += …;line, which is what GameMaker plays; an older profile'skeep_fractional_xykeeps decimals in the room). Every other line, layer, instance and field is kept byte for byte. A newer profile version than Studio reads opens the project without it and says so in the room inspector.
Room > Level has the profile's commands: Level Settings (⌃⌥⇧6), Add, Level Things Palette (⌃⌥Y), Drop to Floor (⌃⌥O), Paint Next Grid (⌃⌥Z), Next Brush (⌃⌥6), Run Checks (⌃⌥U) and the profile's play commands (the first three: ⌃⌥⌘T, ⌃⌥⇧5, ⌃⌥⇧4).
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.