It looks like you're new here. If you want to get involved, click one of these buttons!
music:play(0, true)
local musicloop = Sound.new("musicloop.mp3") musicloop:play(0,true)
Comments
(SoundChannel) = Sound:play(startTime, looping, paused)
Parameters:
startTime: (number, default = 0) The initial position in milliseconds at which playback should start.
looping: (boolean, default = false)
paused: (boolean, default = false)
iPhone? https://itunes.apple.com/us/app/save-my-toys/id593292899?l=en&ls=1&mt=8
Andoid? https://play.google.com/store/apps/details?id=cat.acb.savemytoys
My code :
sound = Sound.new("music")
channel = sound:play()
channel:addEventListener(Event.COMPLETE,
function()
channel = sound:play()
end)