首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
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:
阅读更多...