Hi everybody. Is there any way to create rounded polygon? Maybe there is some custom library for this?
Can you show an example? like screenshot or something.
I mean something like this. The top polygon is simple, the bottom one is rounded. I need to create rounded polygons.
There is no rounded rectangle drawing method implemented in cocos2d-x. You can draw a rounded rectangle by creating the vertices manually.
Oval corners could be like this :
Another approach is using 9-slice scaling.
Check this link