Audio_play_music - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Table of Contents

Function Title

audio_play_music(sound,loop)

Description

Plays a sound resource as music.

Parameters

Parameter Data Type Description
sound integer index of the sound
loop boolean whether to loop the sound

Return Values

void: This function does not return anything.

Example Call

<syntaxhighlight lang="edl"> // demonstrates playing a sound as music audio_play_music(snd_bgmusic); </syntaxhighlight>

    1. Notation
    2. Description
General description of the function.
    1. Parameters
  - **sound**: index of the sound
  - **loop**: boolean (true or false) whether to loop the sound
    1. Return Values
Document return values.
    1. Example Call
Example of using the function.
⚠️ **GitHub.com Fallback** ⚠️