html52013. 7. 2. 18:19

#네모 박스 그리기

var layer = cc.LayerColor.create(cc.c4b(255, 0, 0, 128), 200, 200);
layer.ignoreAnchorPointForPosition(false);
layer.setPosition(cc.p(300, 300));
this.addChild(layer, 1, cc.TAG_LAYER);

Posted by 차돌이라네