play 8-bit explosion
Problem it solves
A bomb detonates or a boss is destroyed and you want a crunchy, noisy 8-bit blast sound.
What this block does
Plays a tunable noise explosion sound with custom volume power, pitch, and duration.
The block
Block ID: retro_explosion
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| power | number | 5 | Explosion strength which controls volume (1 to 10). |
| pitch | number | 200 | Optional noise pitch frequency override. |
| duration | number | 300 | Optional explosion sound duration in milliseconds. |
Example
Retro.playExplosion(8, 180, 400)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.