how can i do with effects like cover flow


#1

i search for a long time,but the code always for ios,some functions i don’t understand the means,wait for help.


#2

The effect just like this picture.


#3

I think you are looking for below code,

// create dark layer with alpha
CCLayerColor *darkLayer;
darkLayer = CCLayerColor::create(ccc4(0,0,0,125));
darkLayer~~>setVisible;
this~~>addChild(darkLayer, 8);

just take good care of z value while adding child.


#4

add those code in your init and make visible when you required.