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 dash sound

Problem it solves

Your player performs a dash move and you want the pitch of the dash whoosh to match their dash speed.

What this block does

Calculates a higher pitch based on speed and plays a short retro dash sound with slight variation.

The block

Block ID: retro_dash_sound

play dash sound speed $speed block

Parameters

NameTypeDefaultMeaning
speednumber100The speed of the dash action.

Example

Retro.playDash(150)

Add the extension

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