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 ripple

Problem it solves

An earthquake shakes the world and you want the screen to shudder with continuous rapid tremors.

What this block does

Shakes the screen in repeated pulses for the entire specified duration.

The block

Block ID: retro_screen_ripple

screen ripple strength $strength duration $duration ms block

Parameters

NameTypeDefaultMeaning
strengthnumber3The intensity of each shake pulse.
durationnumber200Total duration of the ripple effect in milliseconds.

Example

Retro.screenRipple(4, 300)

Add the extension

Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.