Question

Im using cocos2d v2.1 beta2 (not sure if important or not).

Im using CCDirector to push a scene. Im doing it like so: [[CCDirector sharedDirector] pushScene:[CCTransitionFadeUp transitionWithDuration:1 scene:[ShopLayer scene]]]; The problem is that in the beginning the scene appears for a split second and then the transition is performed. How do I fix this? Will I really have to switch to replaceScene:?

Was it helpful?

Solution

I have fixed this.

I replaced the transition with CCTransitionSlideInL. Its working now.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top