Creating Circles in Cocos Creator

Hello EveryBody ,

I’m asking about the way to create a circle in the cocos creator
I’ve tried this code but it doesn’t gave any result .

    var drawnode = cc.DrawNode.create();
    drawnode.drawDot( cc.p(100,100), 90, cc.c4f( 1, 0, 0, 1) );
    this.addChild(drawnode);

Thanks
Abulbisht

you can use drawCircle
like this
drawnode.drawCircle(position, radius, angleRotate, radius, false, lineWidth, cc.color.WHITE)

Hi @jokerx86

could you please give an example of that statement … actually what are the parameters that you’ve put down ?

Regards
Abulbisht