Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Theme sounds like Star Wars but cut off (Darth Vader) — Gideros Forum

Theme sounds like Star Wars but cut off (Darth Vader)

HubertRonaldHubertRonald Member
edited May 2014 in Suggestions & requests
Hi folks I had the next problem when I'm using Scene-Manager
Here 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.
Sign In or Register to comment.