776: New problems since 775
I have lots of new problems with storyboard in 776:
776 note: “Storyboard: Fixed several scene transition bugs. Fixed delay issues”:
Up till 775 my transitions (slide left, right) worked fine.
I think that before exitScene is called a capture of the scene view was made.
This was good, because in exitScene I remove all of the visual stuff from the scene, like LevelHelper levels etc.
The capture then was moved off screen and the new scene appeared.
Now it seems that there is no capture anymore, when I remove all the LevelHelper stuff in exitScene this only leaves a black screen that is moved off screen while the new scene appears.
If I move the removal of the LevelHelper level to the new exitEnded event, the transition works, but crashes half the time…
Additionally, because now the complete LevelHelper scene is moved off screen, I have problems with all the level elements that are positioned outside the visible screen (elements for the parallax scrolling, etc.). This elements appear in front of the new scene that gets transitioned in.
I of course applied a mask to the scene that is moved off screen and with the mask I was able to hide these elements, but I don’t like this solution.
MY QUESTION:
Did you intentionally remove the automatic screen capture functionality? Was this maybe the reason for the slight delay?
* If yes, please tell us if you are changing core functionality of the storyboard API.
* If not, please have a look at it - why isn’t it working anymore?
I just started to do my own fix using screenCapture, but this will take ALL elements on screen, not only the elements of the scene view (so my navigation buttons etc. are captured, too)…
But really thank you for now looking at and debugging the storyboard API!
Best,
Andreas [import]uid: 107675 topic_id: 24131 reply_id: 98200[/import]