Crossfade animation doesn't descend seamlessly

Hi there,

I don’t know if this bug is already known.
I searched the forum etc. but didn’t really find it.

When crossfading via storyboard.gotoScene, there seems to be some sort of black background, which gives the effect, that both scenes fade out a little - turning grey or darker for a moment, which doesn’t look very good.

For reproducing:
I have 2 times the same scene: Black menu with white symbols on the left and a white background. Well, I think you only need a white background, if you want to see it.
Wenn I call storyboard.gotoScene() with crossFade effect, I see my white background getting darker for a moment.
You can see it very clearly, if you turn the timer to 1000 or higher.

Well, is this a known issue, or is it even a feature? xD

For me it destroys my beautiful animations ^^
Greetings,
Jed [import]uid: 180586 topic_id: 31707 reply_id: 331707[/import]

Another thing:
If you do

display.setDefault( “background”, 255, 255, 255, 0 )

You only see the bug with a black object turning lighter for a moment.

I think the issue is, that every scene has a view and this view has a background-color.
Is there a way to turn of this background color for every scene or set them to 0.0 alpha?

When a scene with alpha 0.0 is above another scene and the background is turning its alpha to 1.0 while animating, and this scene has some, for example, black objects… then the black object with alpha 0.5 and the white background with alpha 0.5 turn grey (or the otherwise, if there is a white big rect drawn onto the screen and the view has a black background). Same with the scene below. So there will be some objects or the whole background getting grey for a moment (if they are black and white).

**Best to test it is just adding a white rect as background onto the view.
So the view has black background and there is a white rect on it, covering it.
And then doing a storyboard.gotoScene( anotherSceneWithWhiteRectOnBlackBackground, “crossFade”, 1000)

display.setDefault( “background”, 255, 255, 255, 0 ) <<< the alpha value (last parameter) doesn’t work?

Update: I made 2 screen recordings with this issue.

White background with setDefault(“background”) and adding a black rect fullscreen + black&white menu:
https://dl.dropbox.com/u/6737592/crossfade_bug_1.mov

Black background and adding a white rect fullscreen + same menu:
https://dl.dropbox.com/u/6737592/crossfade_bug_2.mov

I think its just the alpha-value in setDefault, which doesn’t work, so the view always has a background. [import]uid: 180586 topic_id: 31707 reply_id: 126652[/import]**

Another thing:
If you do

display.setDefault( “background”, 255, 255, 255, 0 )

You only see the bug with a black object turning lighter for a moment.

I think the issue is, that every scene has a view and this view has a background-color.
Is there a way to turn of this background color for every scene or set them to 0.0 alpha?

When a scene with alpha 0.0 is above another scene and the background is turning its alpha to 1.0 while animating, and this scene has some, for example, black objects… then the black object with alpha 0.5 and the white background with alpha 0.5 turn grey (or the otherwise, if there is a white big rect drawn onto the screen and the view has a black background). Same with the scene below. So there will be some objects or the whole background getting grey for a moment (if they are black and white).

**Best to test it is just adding a white rect as background onto the view.
So the view has black background and there is a white rect on it, covering it.
And then doing a storyboard.gotoScene( anotherSceneWithWhiteRectOnBlackBackground, “crossFade”, 1000)

display.setDefault( “background”, 255, 255, 255, 0 ) <<< the alpha value (last parameter) doesn’t work?

Update: I made 2 screen recordings with this issue.

White background with setDefault(“background”) and adding a black rect fullscreen + black&white menu:
https://dl.dropbox.com/u/6737592/crossfade_bug_1.mov

Black background and adding a white rect fullscreen + same menu:
https://dl.dropbox.com/u/6737592/crossfade_bug_2.mov

I think its just the alpha-value in setDefault, which doesn’t work, so the view always has a background. [import]uid: 180586 topic_id: 31707 reply_id: 126652[/import]**