When called in a stage article, plays a background music track which replaces the currently playing music track.
Argument | Type | Description |
---|---|---|
file | :string | The file to load located in the /sounds directory. |
Example, called from a stage’s update.gml:
// plays "my_song.ogg" located in the /sounds directory:
music_play_file( "my_song" );