Beep8 logo

SFX Documentation

SFX Documentation Source Code

Sfx Methods

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.

More Beep8 Docs

Actors Documentation

Async Documentation

Core Functions

Input Documentation

App Intro Documentation

Joystick Documentation

Menu Documentation

Music Documentation

Passcodes Documentation

Public API

Random Numbers Documentation

SFX Documentation

Tilemap Documentation

Utilities Documentation