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