Studio › Manual › Build and platforms

Studio Runtime (Beta)

Studio Runtime is Studio's own runtime for GameMaker projects. It reads the project as it is on disk and plays it, so there is nothing to build and GameMaker doesn't need to be installed. It is in beta: most of our own games run on it, but a project may use something it doesn't do yet.

  • Turn it on for a project: Run > Run with Studio Runtime (⌃⌥⌘R), or pick Studio Runtime (Beta) in the toolbar's run-target menu or under Run > Run Target. The choice is kept for this project (in its .studio/run.json, which Studio for Windows reads too); ⌃⌥⌘R again goes back to the GameMaker runtime it used before.
  • Run (⌘R) saves your changes and starts the game in its own window at once. The game's messages (show_debug_message) and errors show in the Output tab; Stop (⌘.) ends it.
  • Build (⌘B) checks the project: it is loaded and compiled, and one step runs off the screen with no sound. An error names its file and line in Output.
  • Export with Studio Runtime… (⌃F7, in the Run menu) makes a Mac app of the project. Choose where it goes and its name; the app holds the game's files and Studio Runtime's player, has the project's Mac icon, and keeps its saves in ~/Library/Application Support/<its id>. It is signed for this Mac only: to give it to others it still needs signing with a Developer ID and notarising.
  • Studio's own types (vectors, rotations, colours, dictionaries and sets), type hints, coroutines, for … in and delta time run natively on Studio Runtime, with no rewritten copy. Room 3D's kit functions are built in too, so 3D rooms run faster.
  • Exports for other platforms (beta): Run > Export > Studio Runtime (Beta) makes a Mac app, a web folder, Android and Meta Quest APKs, and iOS and tvOS Xcode projects on the Mac; Windows and Xbox are made in Studio for Windows. See "Exporting with Studio Runtime (Beta)".
  • Not in Studio Runtime yet: the debugger (F5) and the profiler use the GameMaker runtimes; Run This Room starts at the project's first room.
  • If a game behaves differently on Studio Runtime, switch back with ⌃⌥⌘R and use Help > Report a Bug… to tell us what happened.

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