Working on a game right now and trying to get the music to play continuously throughout the world. Yet start if a level is selected from the level select screen.
This is the code I have currently, It loads the level but doesn’t play the music
any help would be great, thanks
[code]local world1Soundtrack = audio.loadStream(“AClimber_World_1.mp3”)
local world1Soundtrack = false
function music()
if (world1Soundtrack == false) then
world1Soundtrack = true
audio.play(world1Soundtrack)
else if (world1Soundtrack == true) then
end
end
end
[import]uid: 94237 topic_id: 18684 reply_id: 318684[/import]