Initial delay with storyboard.gotoScene() ?

Hi,

Has anyone else noticed a delay of maybe 500ms between calling storyboard.gotoScene() and the transition actually starting?

The delay is there even if not using a transition effect and does not seem to improve if the scene has been loaded previously.

At first I thought it may be due to the preloading of the scene but the delay is still there if it contains nothing but a newRect().

If I either roll my own or use Director the transition starts immediately.

Is this just the overhead associated with using the storyboard API? Its not a long time by any means, less than a second, but its enough to make navigation feel laggy.

Im using 2011.701 on an iPad 1st Gen, but I see it in the last 4 daily builds, I also went back to 2011.678 - same problem ( though it may be ever so slightly quicker, could be my imagination though ). [import]uid: 8600 topic_id: 18556 reply_id: 318556[/import]

We can confirm it too, it’s the exact same problem. The delay is even longer on older devices, up to about 2 sec on iPhone 3G. [import]uid: 88922 topic_id: 18556 reply_id: 71304[/import]

Same here. I am doing a couple of projects for children and they manage to tap the screen 3 - 4 times before transition begins. And it’s hard to explain they need to take it easy. :wink: [import]uid: 40334 topic_id: 18556 reply_id: 71308[/import]

Thanks for posting this - I will bring it up in our next meeting.

Peach :slight_smile: [import]uid: 52491 topic_id: 18556 reply_id: 71374[/import]

Ah at least its not just me!

Thats great, thanks Peach :slight_smile: [import]uid: 8600 topic_id: 18556 reply_id: 71401[/import]

Any updates on this? [import]uid: 10478 topic_id: 18556 reply_id: 71629[/import]

i plan to use storyboard a lot, so i’d really like for ansca to resolve this [import]uid: 16142 topic_id: 18556 reply_id: 71634[/import]

Any news on a fix? [import]uid: 107830 topic_id: 18556 reply_id: 71883[/import]

Hopefully it will get fixed in a daily soon :slight_smile:

Im hoping to submit this app before the Christmas shutdown and I wouldnt feel comfortable doing so using the storyboard API as it is.

If we dont hear anything for a few days I think ill probably shoe horn my code into Director and then just revert back again when its been fixed. [import]uid: 8600 topic_id: 18556 reply_id: 71975[/import]

I don’t have any news for you guys yet; only that the team is aware of the issue.

If any of you would like to file a bug report, that would be appreciated as well. (Post bug # here please.)

I’ll update you as soon as I’ve got any news.

Peach :slight_smile: [import]uid: 52491 topic_id: 18556 reply_id: 72049[/import]

Thanks for the update Peach :slight_smile:

Ive submitted bug report #3406 ( though email confirmation says case #10346 ). [import]uid: 8600 topic_id: 18556 reply_id: 72060[/import]

Thanks Dell and Peach:-)
@Peach: Do you think that it can be solved before the 15th December? If not, we have to port our code back to Director again. [import]uid: 88922 topic_id: 18556 reply_id: 72130[/import]

@Dell - Thank you very much!

@dirtyBit I can’t comment on that as it isn’t my department, however I am doing my best to get some info.

Peach :slight_smile: [import]uid: 52491 topic_id: 18556 reply_id: 72133[/import]

Hello,

I have a quick question: Does the delay occur even if no effects are specified, or only when using a transition effect?

Thanks, [import]uid: 52430 topic_id: 18556 reply_id: 72242[/import]

Hi Jonathan, The delay happens for me whether I specify an effect or not. [import]uid: 8600 topic_id: 18556 reply_id: 72243[/import]

Same here, delay is present for:

storyboard.gotoScene( “level”)
storyboard.gotoScene( “level”, “crossFade”, 0 )
storyboard.gotoScene( “level”, “crossFade”, 500 ) [import]uid: 107830 topic_id: 18556 reply_id: 72244[/import]

Unfortunately it looks like this is still present in today’s release, I guess that is to be expected as it is essentially the 2011.703 build.

No doubt it was reported too late to squeeze in in time, hopefully soon :slight_smile: [import]uid: 8600 topic_id: 18556 reply_id: 72499[/import]

What I’m seeing is that even using CrossFade, I get a brief “fade to black”… I solved it (well hacked/hid the problem) by adding a white rectangle background to main.lua since most of my backgrounds in this game are white based, it doesn’t show the black background.

[import]uid: 19626 topic_id: 18556 reply_id: 72508[/import]

Any updates on the progress? [import]uid: 88922 topic_id: 18556 reply_id: 73726[/import]

Big +1 on this question. Would love to use this API for my next project but am concerned about its performance. Lots of potential just slow to react. Maybe image preloading will help. [import]uid: 74786 topic_id: 18556 reply_id: 74260[/import]