SFX Documentation
beep8.Sfx.add(sfxName, sfxArray)
Add a sound effect to the library.
Parameters
- sfxName (string): The name of the sound effect.
- sfxArray (Array): The sound effect array.
beep8.Sfx.play(sfx)
Play a named sound effect.
Parameters
- sfx (string): The name of the sound effect to play.