Source:setLooping
Sets whether the Source should loop.
Function
Synopsis
Source:setLooping( loop )
Arguments
boolean loop
- True if the source should loop, false otherwise.
Returns
Nothing.
Examples
function love.load()
music = love.audio.newSource("music_loop.wav")
music:setLooping(true)
music:play()
-- Music will now play forever, until stopped or paused.
end
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info