Revision as of 13:46, 18 January 2010 by Thewreck
audio.playMusic(musicFilename [, volume, [repeat]])
Plays an audio file, globally, once.
|musicFilename||A string||The name of the music file, relative to the source folder. The name is case sensitive on Mac OS X.|
|volume||A number||Volume of the played music file, maximum is 1.|
|repeat||A boolean||true if the music should repeat.|
|Daisymoon Audio Lib|
audio.playMusic("intro.ogg") audio.playMusic("music/boss.ogg", 0.75, true)