pushScene with a semi transparent scene

pushScene with a semi transparent scene
0.0 0


Is it possible to push a semi transparent scene about my current scene?



No. You cannot set transparency to the scene. Do you? :slight_smile:
You can only set transparency to the ColorLayer or Sprites.

How to resolve such problems in future? Check the class properties.
CCScene is derived from CCNode. So you can check properties of CCNode that can support by CCScene. Opacity is not the property of CCNode and CCScene.


Ok. In that case, I should use CCLayer instead of CCScene. Thanks


But if I use CCLayer. How am I supposed to apply transition effect to the added layer ?


I’m afraid that current transition effects actually support scenes only. If a simple transition effect for a layer like slide left/right/top/bottom etc is enough for you then you could just implement it by yourself with CCMoveTo action.