screen vignette
Problem it solves
Your player enters a spooky dungeon or reaches low health and you want dark borders around the screen.
What this block does
Creates a background border overlay with the specified color intensity to simulate a vignette.
The block
Block ID: retro_screen_vignette
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| intensity | number | 80 | Color index intensity to draw along the screen perimeter. |
Example
Retro.screenVignette(15)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.