Hi folks I had the next problem when I'm using
Scene-ManagerHere is the code with the bug (simplified)
inGame = Core.class(Sprite)
.
.
.
function inGame:exit_Level()
music.off()
music.on()
music.play("theme")
sceneManager:changeScene("setup", .5, SceneManager.crossFade)
end |
Here my dirty solution
inGame = Core.class(Sprite)
.
.
.
function inGame:exit_Level()
Timer.delayedCall(5, function()
music.off()
music.on()
music.play("theme")
end)
sceneManager:changeScene("setup", .5, SceneManager.crossFade)
end |
I think I read that Gideros bought something to improve the sounds of its SDK ... I do not know if that would solve this sort of thing or can be a better solution, but this worked for me.
Any suggestion are welcome.