[Solved] Smooth dots on cocos2dx


#1

Hi!
I have a problem, using CCDrawNode method drawDot. It draws hard edges circle and fill it. Is there any way to draw more smooth dot using that method (some like glEnabled(SOME_EPIC_PARAM) or anything else) ?


#2

Check out CCDrawingPrimitives drawCircle


#3

There is, probably, no out of the box solution, but you can do it by yourself relatively simple. Here are the tips http://www.cocos2d-x.org/forums/6/topics/35604
Good luck.


#4

Nite Luo, unfortunately, drawCircle draws hard circle even in very large segment count. Don’t know why.

dot squid, thanks a lot! That solution works for me.