How to create multiple transitions on scene changes

In many games, when you change scenes there is not only a slide effect but also a fade effect.

So, as one scene slides to the left it also fades out and as the next scene slides in from the right is also fades in. You often see this when moving from the main menu to the options screen, and back again.

This is how I thought it might work…

storyboard.gotoScene( "Scenes.playlevel", "crossFade, slideLeft", 500)  

But it doesn’t. How can you achieve this effect?

Thanks! [import]uid: 194746 topic_id: 34140 reply_id: 334140[/import]

I’m not sure if it is possible, but a work around would be to change the display group alpha levels with the transition API. [import]uid: 62706 topic_id: 34140 reply_id: 135747[/import]

Hi Richard,
CraftyDeano is correct: for this you’ll need to manage the fade part of each scene separately of the “core” scene transition.

Brent [import]uid: 200026 topic_id: 34140 reply_id: 135772[/import]

Thanks guys :slight_smile: [import]uid: 194746 topic_id: 34140 reply_id: 135908[/import]

Thanks guys :slight_smile: [import]uid: 194746 topic_id: 34140 reply_id: 135909[/import]

I’m not sure if it is possible, but a work around would be to change the display group alpha levels with the transition API. [import]uid: 62706 topic_id: 34140 reply_id: 135747[/import]

Hi Richard,
CraftyDeano is correct: for this you’ll need to manage the fade part of each scene separately of the “core” scene transition.

Brent [import]uid: 200026 topic_id: 34140 reply_id: 135772[/import]

Thanks guys :slight_smile: [import]uid: 194746 topic_id: 34140 reply_id: 135908[/import]

Thanks guys :slight_smile: [import]uid: 194746 topic_id: 34140 reply_id: 135909[/import]