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
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| strength | number | 3 | The intensity of each shake pulse. |
| duration | number | 200 | Total 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.