play sound sequence
Problem it solves
You want an unlock jingle where a key pickup sound plays fully first, immediately followed by a door opening sound.
What this block does
Plays the first retro sound until it finishes, and then immediately plays the second sound.
The block
Block ID: retro_sequence_sound
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| first | Retro.Sounds | Retro.Sounds.KeyObtained | The initial sound that must finish first. |
| second | Retro.Sounds | Retro.Sounds.DoorOpen | The follow-up sound to play afterwards. |
Example
Retro.sequenceSounds(Retro.Sounds.KeyObtained, Retro.Sounds.DoorOpen)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.