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.

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

play 8-bit explosion power %power||pitch %pitch duration %duration block

Parameters

NameTypeDefaultMeaning
powernumber5Explosion strength which controls volume (1 to 10).
pitchnumber200Optional noise pitch frequency override.
durationnumber300Optional 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.