Initial delay with storyboard.gotoScene() ?

  1. create a file called “storyboardGotoScene.lua” with my code.

  2. Use the following line in every scene where you want to override the gotoScene() function;

storyboard.gotoScene = require(“storyboardGotoScene”) [import]uid: 106083 topic_id: 18556 reply_id: 92714[/import]

@Taruga

I added a layer to prevent touch events during scene transitions, I have only tested it with my app, you can to comment out all lines with "layer. If it works after it has something to do with my layer to disable touch events. [import]uid: 106083 topic_id: 18556 reply_id: 92715[/import]

This still isn’t working for me. I’ll try to make a video of it happening tonight.

Basically I swipe screen1 to screen2 and things look fine. I swipe to screen3 and all is still good, but if I swipe back to screen 2, about 20 some odd pixels of screen 3 is still on the screen. If I try and swipe back to screen 3, screen 3 quickly moves right to left across the entire screen zooming off screen to the left leaving me still viewing screen2.

Now I’m only including your module in my main.lua after I load storyboard since that functionality should carry forward without having to load it in every scene.

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

@Johantd04

I’ve found a bug in my code that gave me a different behavior with your routine but It´s working fine now. Thanks for your work, my app is much faster now switching views :slight_smile:

@Ansca

FIX THIS BUG !!! [import]uid: 10141 topic_id: 18556 reply_id: 92751[/import]

@Ansca

This is so simple and it works!

This should be taken as an official solution for storyboard problems.

Regards
Tom [import]uid: 111283 topic_id: 18556 reply_id: 92844[/import]

I can confirm that for some reason, this breaks my widget tableview. No idea why. The tableview is added to the screenGroup and works fine without this fix.

argh! [import]uid: 42417 topic_id: 18556 reply_id: 92851[/import]

@Johantd04

could you create sample project with 2 scenes and your version of gotoscene ? maybe this would speedup process of updating api by ansca

Regards,
Tom [import]uid: 111283 topic_id: 18556 reply_id: 92873[/import]

Added the code to “share your code” and compressed a modified version of Anscas Storyboard code example.

http://developer.anscamobile.com/code/storyboard-goto-no-delay [import]uid: 106083 topic_id: 18556 reply_id: 93092[/import]

Anyone else upset that it’s been 3 months and no fix from Corona? [import]uid: 58885 topic_id: 18556 reply_id: 94253[/import]

@chevol

You should check out my fix: http://developer.anscamobile.com/code/storyboard-goto-no-delay

[import]uid: 106083 topic_id: 18556 reply_id: 94254[/import]

@Johantd04

This is just simple workaround. This API must be fixed anyway.

Tom [import]uid: 111283 topic_id: 18556 reply_id: 94255[/import]

@Johantd04

I still cant get your solution to work for me.

See: http://omnigeekmedia.com/tmp/bug.mov

If I don’t use your module it works fine but with the delay. [import]uid: 19626 topic_id: 18556 reply_id: 94262[/import]

@robmiracle

I would love to get this issue fixed (even tough it works with my project and corona demo). Is there any chance that you can give me a part of your project that I can use for resolving this issue?

/J [import]uid: 106083 topic_id: 18556 reply_id: 94265[/import]

got an email address? I can either zip it up and send it to you, or put it on drop box and share the folder with you.
[import]uid: 19626 topic_id: 18556 reply_id: 94269[/import]

johan(at)baboons.se [import]uid: 106083 topic_id: 18556 reply_id: 94270[/import]

Hey I’m confused at the silence here. While Johan has a workaround, it’s not perfect and I think we all agree that ansca hopefully addresses this soon. [import]uid: 42417 topic_id: 18556 reply_id: 94272[/import]

I am working on fixing this issues guys. As soon as possible. [import]uid: 84637 topic_id: 18556 reply_id: 94292[/import]

Hi all,

I have a quick update regarding the delay issues:

I just checked-in the fix you’ve all been waiting for :slight_smile:

I want to thank you all for your patience, and apologize to those who have been waiting for the fix for quite some time.

And special thanks to Joshua Quick, the engineer who did all the back-end heavy lifting work that made the fix possible!

Look for the fix to be available in the daily build *after* 2012.768.

Please let me know if you’re still experiencing issues once you’re able to download the new build and try it out. [import]uid: 52430 topic_id: 18556 reply_id: 94553[/import]

@Ansca

All hail Joshua!

Can’t wait to try it out :slight_smile: [import]uid: 106083 topic_id: 18556 reply_id: 94557[/import]

@Ansca good job! Gonna be nice to have Storyboard working with transitions. [import]uid: 58885 topic_id: 18556 reply_id: 94560[/import]