set retro sound pause mode
Problem it solves
You want retro sound effects to block game progression until they finish playing instead of playing asynchronously in the background.
What this block does
Toggles whether retro sounds play asynchronously or pause execution until playback completes.
The block
Block ID: retro_pause_toggle
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| state | boolean | false | Set to true to make sounds pause until done, or false for background playback. |
Example
Retro.setPauseMode(true)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.