play retro sound
Problem it solves
Your player jumps, collects a coin, or hits an enemy, and you want an authentic retro 8-bit sound effect to play.
What this block does
Plays one of the built-in preset synthesizer sounds from the retro sound catalog.
The block
Block ID: retro_play_sound
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| sound | Retro.Sounds | Retro.Sounds.Jump | The preset sound effect to trigger. |
Example
Retro.playRetroSound(Retro.Sounds.Coin)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.