Scene transition effect without actual scene transition

Hey All
I wish to use a transition effect - Fade in and Fade out - in my game for the whole scene.
As you might guess this is when the player is moving between screens: menu screen, game screen etc…
Another thing to note is that my game is a single scene - all of the above “screens” live in the same scene and I don’t want to break it.
I was wondering if there is any way to have a transition effect or if the actual scene transition effects can be used but instead of switching to a different scene, it will actually show the current scene.

Would love to hear your thoughts. :grinning:

If you inspect the fade in and fade out code, then you should be able to copy the implementation and create your own versions to apply them to any kind of cocos2d::Node.

2 Likes

Sure thing @R101, this solution did cross my mind and it seems like it is the way to go.
I was just curious to know if there was any other way to do this - full-screen transitions of some sort.
Thanks for the answer!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.