I’m trying to port my cocos2d game Lexigon to the html5 framework.
When I create a sprite it seems that setOpacity has no effect?
this.bg = cc.Sprite.create( this.name1 );
this.bg.setPosition( cc.p( this.centerx, this.centery) );
this.bg.setScale( this.scaleFrom );
this.bg.setOpacity( 0 );
this.daddy.addChild( this.bg, 0);
Changing the opacity in an animation sequence works ok.