Module systems_sound

Provides background music playback through the sound bank.

Info:

  • Author: Sharper Dev

Functions

SoundSystem.playBgm (soundPath) Opens and loops an OGG track, unloading the previous background track first.


Functions

SoundSystem.playBgm (soundPath)
Opens and loops an OGG track, unloading the previous background track first.

Parameters:

  • soundPath string Path to the OGG file.

Usage:

    SoundSystem.playBgm("romfs:/sounds/music.ogg")
generated by LDoc 1.5.0 Last updated 2026-10-04 12:53:32