PlayMusic

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
Thewreck (Talk | contribs)
(Created page with '{{AudioMethod | audio.playMusic(musicFilename) | Plays an audio file, globally, once. | {{MethodParam|musicFilename|A string|The name of the music file, relative to the source fo...')
Newer edit →

Revision as of 12:33, 18 January 2010

audio.playMusic(musicFilename)

Plays an audio file, globally, once.

Parameter Expected Type Description
musicFilename A string The name of the music file, relative to the source folder. The name is case sensitive on Mac OS X.
Returns

Returns nothing.

Daisymoon Audio Lib

Example

   audio.playMusic("intro.ogg")

   audio.playMusic("music/boss.ogg")
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox