MakeCode Games!

A fan-made community library of MakeCode Arcade games. Visit MakeCode Arcade to make a game!

← Back to extensions

Retro FX

Add juicy 8-bit sound synthesizers, screen shakes, particle explosions, camera effects, and retro text displays to your games.

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

set retro sound pause mode $state block

Parameters

NameTypeDefaultMeaning
statebooleanfalseSet 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.