Hi, Sorry if this has been answered. I searched forums but could not find actual answer I was looking for.
Basically what I want to do is darken child layers when I display a new layer on top. I have a main scene which is built up of several layers. Scoreboard, game area, etc. Now when I display a popup layer on top I want to be able to darken all other layers until popup box goes.
I have looked at the transition code but it all seems to be based on scene changing. I did consider just setting the alpha on each object in scene but this is no good as i will get horrid effect.
If there is no sdk functionality to do this then I can easily just load a small black sprite and display it full screen with amount of alpha to give me the desired effect but if there is something built in then I would rather use it.
B.T.W loving cocos2d html5 its a very nice sdk.