set global retro volume
Problem it solves
You want an options menu slider where players can adjust the overall master audio volume.
What this block does
Sets the global sound effect and music volume level across the game.
The block
Block ID: retro_global_volume
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| volume | number | 128 | Master volume level from 0 (silent) to 255 (maximum). |
Example
Retro.setGlobalVolume(180)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.