Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Problems with sceneManager [Solved] — Gideros Forum

Problems with sceneManager [Solved]

Tom2012Tom2012 Guru
edited November 2012 in General questions
Hi All,

Still having problems with scene manager which I thought I'd resolved. But my current app on the app store loads with a white screen maybe one in every 20 times.

If I set the time in this line
Timer.delayedCall(600, function() sceneManager:changeScene("Level 1", .2, SceneManager.fade); end)
from .2 to 0 then it will produce the error every time.

Not sure what I'm getting wrong here. I'd like to use Scenemanger but without the transitions...

Thanks

Tom

Likes: Ghando

+1 -1 (+1 / -0 )Share on Facebook

Comments

  • Tom2012Tom2012 Guru
    edited November 2012
    Ah I've found what this was.

    This at the top was causing it:
    -- load all your assets here
     
    local Atlas2 = TexturePack.new("Atlases/Atlas 2.txt", "Atlases/Atlas 2.png");
     
     
    local Atlas2 = TexturePack.new("Atlases/Atlas 2.txt", "Atlases/Atlas 2.png");
    self.atlas2 = Atlas2
    (loading the texture pack twice seemed to be the problem).

    Thanks
    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.