Screen filters
The Screen filters plugin puts an effect over the whole game screen, like in emulators: CRT, scanlines, PC monitor, handheld LCD, amber or green phosphor, old TV or a soft glow. The effect applies to the entire game at once: backgrounds, characters and particles and the interface too (verb bar, inventory, UI PRO menus, texts and subtitles). The verb bar curves and gets scanlines just like the background.
It looks the same in Play, in the exported game (web and desktop) and in the Runner. The Scene editor shows without a filter: you edit a clean picture.
It is not enabled by default: a project without the plugin carries no filter and no new code in the game.
Enable it
- Open Plugins and choose Screen filters (Art and graphics group).
- Turn the Enabled switch on. The game starts with no filter; choose the default one in Game's default filter › The game starts with (for example, the CRT). Players can change it in Options.
- Choose where it shows (see below): by default, only while playing.
Where it shows: only while playing or in the menus too
Game's default filter › Shows (and the same in Settings & menus › Screen filter):
- Only while playing (the default): in the menus (the main menu and the screens before it, pause, Options, saves, the journal and a plugin's menu) the filter does not show; when playing again it comes back with a short fade. It is still the same filter: the “Which screen filter is on?” condition and UI PRO see it all the same.
- While playing and in the menus: it shows all the time, the main menu too (a game that looks like an old TV from start to end).
It applies to the default filter and to the player's choice. The Set a screen filter block can say otherwise for the filter it sets (see Logic). Play with this filter starts already playing if it only shows while playing (it would not show in the main menu).

The default filter and the built-in ones
On the plugin page:
- Game's default filter: the filter the game starts with (or None). It is the same setting as Default effect in Settings › Graphics, audio and text.
- Filters: the list of built-in filters and your own. Picking one shows a still preview of the start scene with the real filter (also over a sample interface strip), its controls and:
- Play with this filter: opens Play with that filter picked, as if the player had chosen it.
- Use as default: makes it the default filter.
- In the player's list: whether it shows in the Options to choose.
- Back to the default values: undoes your tuning of a built-in filter.
- Duplicate and edit the steps: makes a copy as a custom filter.
| Filter | What it is |
|---|---|
| CRT | Tube TV: curved screen, scanlines, phosphor grille, glow, dark edges and a little color fringing. |
| Scanlines | Just the horizontal lines of an old monitor, no curvature. |
| PC monitor | A 90s monitor: fine grille, barely curved and sharp. |
| Handheld LCD | A handheld console screen: green, with a dot grid. |
| Amber / green phosphor | Monochrome monitor with glow and scanlines. |
| Old TV | Static noise, washed-out colors, vignette and a little curvature. |
| Soft | Just a soft glow. |
The controls
Each filter has the controls of the steps it carries: curvature, glow strength and radius, scanline darkness and thickness, one line per game pixel (lines the scanlines up with the game resolution: a 320×180 game at ×3 gets one line every 3 screen px), grille strength and size, vignette darkness and size, saturation, contrast and brightness, noise (amount, grain size, speed, roughness, color and its saturation) and chromatic aberration.
Custom filters
New filter (below the list) creates your own; Duplicate and edit the steps starts from a built-in one. A custom filter is a list of steps: add them with + Add a step…, tune them, reorder them with the arrows or remove them. The still preview updates right away.
| Step | What it does |
|---|---|
| Curvature | Bulges the screen (the corners go black). |
| Glow (bloom) | A halo of light around bright areas. |
| Scanlines | Dark horizontal lines. |
| Phosphor grille | Color stripes of a tube or dots of an LCD. |
| Vignette | Darkens the edges. |
| Color | Saturation, contrast and brightness; monochrome with its color (amber, green…). |
| Noise | Sharp grain that stays still and changes pattern, like TV snow or film grain. By default, subtle (0.05) and black and white. You can set the amount, the grain size (1–4 px), the speed (changes per second; 0 = frozen grain), the roughness (harsher or softer), whether it is in color (and its saturation) and the blend: Normal, Soft (film grain) or Light specks only (like dust). |
| Chromatic aberration | Splits red and blue slightly. |
The player sees the name in the Options, and you translate it in Texts. Delete the filter… warns if it is the default one, if it is in the player's list or if a block uses it, and Ctrl+Z undoes it.
The player chooses
There is no “let the player choose” switch: if the plugin is enabled, the player can choose with the controls you provide.
Without UI PRO: the game's Options
In Settings › Graphics, audio and text, next to Graphics, the Screen filter section (it shows with the plugin enabled):
- Default effect: the filter the game starts with.
- In the game's Options (on by default): the Options show the Screen filter picker.
- Filters the player can choose: the ones that show, in order (with None first).
If your Options are a UI PRO view (its Options slot), instead of the checkbox you will see how to add the picker there, with a button that opens that view.
What the player chooses is saved in their settings (it applies to all their saves). In Play it is saved in this browser: when you change the default filter, Play shows the default one again.
With UI PRO
- The ready-made “Screen filter” piece (in Add element › Game, like the verbs or the inventory): the label and one button per filter, which lights up on the chosen one, and the The game sets it right now notice. You place it and restyle it like any piece. The AI agent adds it with
add_uipro_game_part(screen-filter). - With the plugin turned off, the piece (and anything bound to the filters) does not show in the game. The editor warns about it: the piece carries a ⚠ mark in Add element and a notice when you add it, the view check (and
check_uipro_view) points at it, and Diagnostics says which views use them. - By hand, with the data and commands:
| Data or command | What it is |
|---|---|
Settings.ScreenFiltersAvailable | Yes with the plugin enabled. |
Settings.ScreenFilters | List with Id, Name and Selected (with None, empty Id, first). |
Settings.ScreenFilter / Settings.ScreenFilterName | The one the player chose ("" = none) and its name. |
Settings.ScreenFilterActive | The one shown right now (the player's or the one the game sets). |
Settings.ScreenFilterByGame | Yes while the game sets one from Logic. |
Settings.ScreenFilterLight | Yes if the lighter version was used for performance. |
Settings.Set {key: "screenFilter", value} | Picks a filter ("" = none). |
Settings.ScreenFilterNext / Settings.ScreenFilterPrev | The next or previous one (for ‹ › arrows). |
Settings.ScreenFilterToggle {value} | For a “CRT filter yes/no” checkbox: sets that filter or none. |
It hides by itself: anything bound to a Settings.ScreenFilter* data path (or running one of those commands) does not show with the plugin disabled, even if it stays in the view. Bind whatever is not bound (a loose “Filter:” label) to Settings.ScreenFiltersAvailable yourself.
The game controls it too (Logic)
A filter is also a mechanic or a gag: the protagonist gets drunk and the screen bends, an amber flashback, an old computer inside the game… With the plugin enabled, under Media:
| Block | What it does |
|---|---|
| Set a screen filter | The game sets that filter (built-in or custom), with a transition in seconds. At the end of the block, shows: “the settings one”, “only while playing” or “while playing and in the menus”. |
| Remove the screen filter | The game sets “none”. |
| Give back the player's filter | Ends what the game set: the player's choice (or the default) comes back. |
| Change a screen filter control | Changes a control of the filter shown (curvature to 0.4 in 2 s: the screen bending little by little). |
| Which screen filter is on? | Yes/no condition (also “none”). |
An example of shows: a game with no filter plays a black-and-white flashback with grain (a custom filter with Color in monochrome and Noise) “only while playing”; if the player opens the pause menu in the middle of the memory, the menu shows clean, and back in the game the memory is still black and white. The other way round, a game with the CRT “while playing and in the menus” can set a filter that only shows while playing.
Priority: what the game sets > what the player chose > the default. What the game sets is saved with the save game; the player's choice, in their settings. While the game sets one, the Options still show the player's choice and say: The game sets it right now.
Diagnostics warns about a block naming a deleted filter, a default or listed filter that no longer exists and a custom filter with no steps or no name.
Performance
The filter is an SVG filter (curvature, glow and color) plus a CSS layer inside the same game box (scanlines, grille and vignette), so the curvature bends the scanlines too. The noise goes in a separate layer, on top of the box and outside the filter: that way its grain stays sharp, without the curvature or the aberration stretching it. Measured on Windows with Edge at 1920×1080: the full CRT runs at about 143 frames per second (144 without a filter).
When a filter is set, the game measures two seconds of frames. If it runs slowly (under about 50 per second or repeated stutters), it switches by itself to the lighter version (just the CSS layer; monochrome is imitated with a color layer) and, if that is still not enough, tries without a filter. If the lighter version gained nothing, the game itself was slow and it goes back to the full filter; if it is no better without a filter either, it goes back to the lighter version instead of removing it (so the effect is not lost for nothing on a computer without a graphics card). The player sees it in the Options (Lighter filter for performance) and you, in the Play debugger log.
Also measured on macOS and Linux: in Safari the full CRT costs nothing. Where drawing happens without a graphics card (some virtual machines or computers without drivers), the full one can be slow and the watchdog switches to the lighter version, which costs almost nothing.
What it does not do (yet)
- It does not filter a cinematic's exported video or save thumbnails. Export video warns about it when the game can have a filter on.
- It does not support GLSL shaders or RetroArch ones.
- It does no pixelation or HQ2x/xBR-style scaling.
AI agent
The agent reads and changes the whole plugin with screen_filters_read and screen_filters_write (enable it, the default filter, the player's list, the built-in filters' controls and custom filters), places the blocks like any other and adds the UI PRO piece with add_uipro_game_part.