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 coin cascade

Problem it solves

The player opens a treasure chest with 10 coins and you want a rapid succession of rising coin chime pings.

What this block does

Plays a rapid series of coin chimes with increasing pitch for each coin in the cascade.

The block

Block ID: retro_coin_cascade

play coin cascade coins %coins||start pitch %startPitch | pausefor block

Parameters

NameTypeDefaultMeaning
coinsnumber5Number of coin chimes to play.
startPitchnumber800Optional base pitch for the first coin chime.
pauseTimenumber40Optional delay between successive coin pings in milliseconds.

Example

Retro.coinCascade(6, 700, 50)

Add the extension

Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.