Storyboard Overlap Bug

Omg, so I have to redesign the whole app? a lot of it was based on that transition effect, can anyone take care of the bug soon???

Hi @akak,

Let me consider this for a bit before you start making widespread code changes. There may be a simple workaround that solves this in the meantime…

Thanks,

Brent

Thanks Brent,

I hope you come up with something 'cause I think I’d have to discharge my project if this transition doesn’t work. And this is my first project to be published… :frowning:

I’ve spent the last little bit looking at @JosuhaNovak919’s filed bug report and looking at the composer code.  If I modify the code from the bug report to slow the transitions down to 1800ms to see things better and changing the backgrounds to be colored (its hard to just watch the white over the arrow issue).   At 800ms, it does look like it’s overlapping. When I slow it down to 1800 the arrow never gets overlaid. 

Also the default transition easing for a slideLeft (that the bug report is using) is an easing.outQuad.  I think this is adding to the issue as well.

You can change the easing using something like this:

composer.effectList.slideLeft.to.transition = easing.linear
composer.effectList.slideLeft.from.transition = easing.linear

And see if that helps.  Since storyboard has been open sourced, that bug report isn’t going to apply to composer.  I would recommend a new bug report be made for Composer.  Though honestly, looking through the composer code, I don’t see anything obvious.  The transitions start at the same time.

Rob

If this can be of any help to anyone who wants to try work this around, @ingemar has offered a very nice piece of code to give the transiton an ios7+  like effect:

http://forums.coronalabs.com/topic/50598-ios-7-style-scene-transitions/

if tweaked properly I get a slideLeft/slidedRight transition with minimum overlapping.

It might also be interesting to use as a tool  to understand what’s not working with the native effect maybe. As a matter of fact, using ingemar’s solution, if I turn down the transition speed the overlapping doesn’t occur at all. Also if I set ‘concurrent’ to false I manage to watch the two scenes move separately and notice that the background of the one leaving goes totally off screen but for a 10/20 pixel vertical strip. May be clues??

I hope this get fixed anyway cause is fundamental for my project to have a perfect sliding transition…