MakeCode Games!

A fan-made community library of MakeCode Arcade games. Visit MakeCode Arcade to make a game!

← Back to extensions

Retro FX

Add juicy 8-bit sound synthesizers, screen shakes, particle explosions, camera effects, and retro text displays to your games.

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

screen vignette intensity $intensity block

Parameters

NameTypeDefaultMeaning
intensitynumber80Color 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.