I’m using CCTransitionCrossFade to transition between two scenes. The background of the two scenes are identical except the former is a darker version of the latter. The backgrounds are the same image just the former has darker values for the colors of the pixels in the image. This way the crossfade transition appears visually as “turning on the lights”.
It works; however, I notice that when the transition ends the background image visually snaps to a size one pixel larger than it was during the transition. In other words, I think that in the logic of CCTransitionCrossFade there might be an off-by-one issue in which the textures are being rendered one-pixel too small.
This is seen in cocos2d-2.0-x-2.0.2 on iOS.