PlayMusic

From OxeyeWiki

Revision as of 12:33, 18 January 2010 by Thewreck (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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