drawnode专题

cocos2dx-js cc.DrawNode

var draw = new cc.DrawNode();                 //创建drawnode对象         this.addChild(draw, 10);         var centerPos = cc.p(winSize.width / 2, winSize.height / 2);                   //drawSegme

DrawNode画线锯齿问题

ios版本下,在AppController.mm中设置multiSampling和numberOfSamples,如下 CCEAGLView *eaglView = [CCEAGLView viewWithFrame: [window bounds]                                          pixelFormat: (NSString*)cocos2d: