Studio › Manual › VR

Add VR to Project

Room > VR > Add VR to Project… (⌥⇧F8) adds the VR tools to a GameMaker project, in GameMaker's own file format:

  • the GMVR extension (its Java, the native OpenXR library and the headset's manifest entries: head tracking, the Quest models, the VR launcher category);
  • scr_gmvr (the vr_* functions) and scr_studio_vr (your VR settings and controller actions, written by Studio);
  • for rooms saved from Room 3D 1.6 on, Room 3D's own o_r3d_vr and scr_r3d_vr;
  • the game's permit (datafiles/gmvr.licence), fetched for your account and the game's Android package name;
  • the Android options a Quest needs: arm64 only, minimum SDK 29, target and compile SDK 34.

New resources go in a VR folder. Running it again only brings the tools up to date. Edit > Undo takes it all out again. Set the game's package name first (Game Options > Android): the permit is tied to it. Without a permit the headset shows NOT REGISTERED over the game.

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