CCSprite * _background = CCSprite::create("level_bg2.jpg");
_background->setPosition(ccp(winSize.width / 2,winSize.height / 2));
addChild(_background,-1);
float t = 5.0f;
//3D晃动特效:特效持续时间,网格的大小,晃动的范围,是否Z轴晃动
CCShaky3D* shaky3d = CCShaky3D::create(t,CCSizeMake(15,10),5,false);//_background->runAction(shaky3d);
//3D波动特效 特效持续时间,网格的大小,波动的速率,振幅
CCWaves3D* waves3d = CCWaves3D::create(t,40);
//_background->runAction(waves3d);
//_background->setFlipX(true);