PlayReel Help
Everything about PlayReel: setting it up, the bar and its keys, and every function and option. (The same guide comes in the download as GUIDE.md.)
PlayReel records your GameMaker game to an MP4 video from inside the game: the picture (H.264, made by the computer's hardware video encoder) and the game's own sound (AAC). A small floating bar gives you Record, Pause and Stop, a timer and a "save the last 30 seconds" button. The bar, its menu and its messages are never in the video.
- GameMaker: LTS 2026 and newer (GML, VM and YYC).
- macOS: 11 Big Sur and newer, Apple silicon and Intel. No screen-recording or microphone permission is needed.
- Windows: 10 (version 2004) and newer, 64-bit, included. PlayReel uses the graphics card's hardware video encoder when there is one, with Windows' own software encoder as the fallback. No permission is needed there either.
- Other platforms (HTML5, mobile, consoles): PlayReel does nothing there, safely.
Set it up (two minutes)
- Add PlayReel to your project. In GameMaker: Tools > Import Local Package, choose
PlayReel.yymps, click Add All, then Import. (Or copy the PlayReel folder's assets from the demo project.) You get: the PlayReel extension, the scriptscr_playreel, the objectso_playreelando_playreel_overlay, a fewspr_playreel_*sprites and the fontfnt_playreel. - Place one
o_playreelin your first room. It's persistent, so it stays for the whole game. (A second one, in another room, removes itself.) - Run your game. The bar appears at the top of the window.
That's all. Press F9 to record and F9 again to stop and save.
The bar and the keys
| Key | Bar button | What it does |
|---|---|---|
| F9 | ● Record / ■ Stop | Starts a recording; stops it and saves the video |
| F10 | ❚❚ Pause / ▶ Resume | Pauses the recording; the video goes on from the same place (one file) |
| F8 | ↻30 | Saves the last 30 seconds as a clip of its own (recording or not) |
| F7 | ⌃ Hide | Hides or shows the bar (while it's hidden, a red dot in the corner shows you're recording) |
- Move the bar: drag it by its dotted grip (or any empty part). It stays where you leave it next time.
- Options (the gear): video size, frame rate, quality, the clip buffer, sound on or off, and Open the videos folder. Size, frame rate and sound can't change during a recording.
- After a save a message shows the video's length and name, with Show in Finder (Mac) or Show in Explorer (Windows).
- Mac laptops: the F keys may need the fn key held, depending on the keyboard settings.
- A click on the bar isn't passed on to your game.
Where videos go
- Mac:
Movies/<your game's name> Recordings - Windows:
Videos\<your game's name> Recordings
Each file is named after the game and the time: My Game 2026-11-23 at 14.05.31.mp4, and clips My Game Clip 2026-11-23 at 14.06.02.mp4. Change the folder with playreel_set("folder", path).
What's in the video
- The picture: your game's application surface (what it draws in the Draw events) and its Draw GUI layer (HUD, menus), exactly as the player sees them. PlayReel's bar is drawn after the frame is taken, so it never shows.
- The sound: the game's own mixed output, after your volume settings. Not the microphone, not other apps, not system sounds.
- Anything your game draws straight to the screen in Post Draw (after the application surface) isn't recorded.
From code
Every function is safe to call on any platform; where PlayReel can't record, they return false (or 0).
playreel_start(); // start recording (true if it started)
playreel_pause(); // pause: one continuous video
playreel_resume();
playreel_stop(); // stop and save (the file is ready a moment later: see on_saved)
playreel_toggle(); // start, or stop the recording going
playreel_clip(30); // save the last 30 seconds (up to the "buffer" option)
playreel_is_recording(); // true while recording, also while paused
playreel_is_paused();
playreel_time(); // seconds recorded so far (pauses left out)
playreel_last_file(); // the last video's path
playreel_show_file(); // show it in Finder / Explorer
playreel_show_folder(); // open the videos folder
// When a video is saved:
playreel_set("on_saved", function(_file) {
show_debug_message("Saved " + _file.path + " (" + string(_file.seconds) + " s)");
// _file.kind is "recording" or "clip"; also _file.width, _file.height, _file.audio
});
playreel_set("on_error", function(_e) { show_debug_message(_e.message); });
Options: playreel_set(option, value) and playreel_get(option)
| Option | Values | Default |
|---|---|---|
"size" | "window" (the window's own size), "1080p" (1920x1080), "720p" (1280x720) | "window" |
"fps" | 30 or 60 | 60 |
"quality" | "low", "medium", "high" | "high" |
"folder" | a folder path; "" for the default | "" |
"buffer" | seconds kept for playreel_clip (0 = off, up to 300) | 30 |
"audio" | true / false | true |
"show_bar" | true / false | true |
"toasts" | the messages after a save | true |
"hotkeys" | true / false | true |
"key_record", "key_pause", "key_clip", "key_bar" | any vk_ key or ord("R") | F9, F10, F8, F7 |
"clip_seconds" | what F8 and the clip button save | 30 |
"include_gui" | record the Draw GUI layer too | true |
"readback" | "auto" (fast), "buffer" (the plain buffer_get_surface way) | "auto" |
"bar_x", "bar_y" | the bar's place in GUI pixels (-1, -1: top middle) | -1 |
"on_saved", "on_error" | functions (see above) | none |
playreel_get("audio_available") tells you whether the game's sound could be reached.
If the picture doesn't fill the video's shape (a 4:3 game in a 1080p video, say), it's centred with black bars.
Command line
Handy for recording a trailer without touching the game:
--playreel-record[=seconds] start recording at once (and stop after that many seconds)
--playreel-quit end the game once that recording is saved
--playreel-folder=<folder> --playreel-size=<window|1080p|720p> --playreel-fps=<30|60> --playreel-bar=0
Speed
PlayReel hands each frame to the hardware video encoder without waiting for the graphics card (it collects the pixels a frame later), and writes the file on threads of its own. Measured in the demo on a Mac mini (M4 Pro), game at 60 frames a second:
| Recording | PlayReel's time in a frame | Game's frame time |
|---|---|---|
| Not recording, clip buffer off | 0 ms | 16.67 ms |
| 1080p, 60 fps | 0.39 ms (worst 0.65 ms) | 16.67 ms |
| 720p, 30 fps | 0.31 ms on the frames it takes (worst 0.53 ms) | 16.67 ms |
1080p, 60 fps, "readback" "buffer" | 2.58 ms | 16.67 ms |
On Windows (a PC with an Intel Core Ultra 9 and an NVIDIA RTX 5060, the same demo at 60 frames a second):
| Recording | PlayReel's time in a frame | Game's frame time |
|---|---|---|
| Not recording, clip buffer off | 0 ms | 16.67 ms |
| 1080p, 60 fps | 1.94 ms (worst 2.73 ms) | 16.67 ms |
| 720p, 30 fps | 0.86 ms (worst 1.53 ms) | 16.67 ms |
1080p, 60 fps, "readback" "buffer" | 5.05 ms | 16.67 ms |
The clip buffer (on by default, 30 seconds) keeps the encoder running while you play, so F8 always has the last 30 seconds; it costs the same as recording. Turn it off with playreel_set("buffer", 0) if you don't use clips. At "high" quality a 1080p60 minute is about 140 MB.
Questions
My video has no sound. PlayReel says so the first time ("Recording without sound"). It means the game's sound output couldn't be reached on this computer; the pictures are still recorded. Check that "Sound" is On in the options.
F8 says there's nothing in the buffer. The buffer fills as the game runs; it's off if "buffer" is 0.
The keys do nothing on my MacBook. Hold fn with the F key, or choose other keys: playreel_set("key_record", ord("R")).
Do players see PlayReel in my released game? Only if you leave o_playreel in it. Many developers keep it out of release builds; or keep it and hide the bar (playreel_set("show_bar", false)) for players who want to record.
Does it need permission to record the screen? No. PlayReel takes the pictures from inside your game and the sound from your game's own output, so neither macOS nor Windows asks for anything.
Changes
- 1.0.1: PlayReel's own names can no longer clash with your game's. In 1.0 a game with a global function, macro or enum named like one of o_playreel's helpers (for example
text_width,sayorkey_name) could stop with an error such as "Unknown font". Every name inside o_playreel now starts withplayreel_. Code only: the Mac and Windows libraries are unchanged. To update, import the new PlayReel.yymps over the old one. - 1.0: first release.
Licence
See LICENSE.txt. In short: use PlayReel in any number of your own games, free or commercial; ship it inside them; don't resell or share PlayReel itself.