play coin cascade
Problem it solves
The player opens a treasure chest with 10 coins and you want a rapid succession of rising coin chime pings.
What this block does
Plays a rapid series of coin chimes with increasing pitch for each coin in the cascade.
The block
Block ID: retro_coin_cascade
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| coins | number | 5 | Number of coin chimes to play. |
| startPitch | number | 800 | Optional base pitch for the first coin chime. |
| pauseTime | number | 40 | Optional delay between successive coin pings in milliseconds. |
Example
Retro.coinCascade(6, 700, 50)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.