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
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| speed | number | 100 | The speed of the dash action. |
Example
Retro.playDash(150)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.