In my cocos2d iphone project I have one major layer, the game layer. When the user presses the pause button the scene is paused and another scene is pushed onto it, the pause scene.
[[CCDirector sharedDirector] pushScene:[PauseLayer node]];
I realize the pause scene as a CCLayerColor. I want the layer to be transparent but I can't set both color and opacity. The layer is always black, although I can see my menu on it.
self = [super initWithColor:ccc4(255, 255, 255, 50)]