var backgroundLayer = new cc.LayerColor(new cc.Color(40,40,40,255),320, 480);
//背景色
this.addChild(backgroundLayer);
var gradient = new cc.LayerGradient(cc.color(0,0,0,255),cc.color(0x46,0x82,0xB4,255),cc.p(1,1)); //渐变背景色
this.addChild(gradient);
this.addChild(backgroundLayer);
var gradient = new cc.LayerGradient(cc.color(0,0,0,255),cc.color(0x46,0x82,0xB4,255),cc.p(1,1)); //渐变背景色
this.addChild(gradient);