Background color when making transitions between scenes

when doing:

cc.Director.getInstance().replaceScene(cc.TransitionFade.create(TRANSITION_TIME_BETWEEN_SCENES, scene));

outgoing scene fades to black. Is there any possibility of changing that color to white for example?

Hi RavalMatic,

cc.TransitionFade have a third parameter that define the cc.3b(r,g,b) color of the transition.

Example cc.Director.getInstance().replaceScene(cc.TransitionFade.create(0.5,new MyScene(),cc.WHITE));

Cheers