Version 0.3.2
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Function
love.audio.play( music )
Remember that only one Music can play at any time. (See love.audio).
Usage
love.audio.play( music )
Arguments
musicThe Music object to play.
Returns
Nothing
Examples
Example 1: Play some music. muzik = love.audio.newMusic("totally_awesome.mp3")
love.audio.play(muzik)