drawPolygon For Complex polygons

Hi All,

First post here. I am using the drawPolygon function of CCDrawNode and it works great for simple convex polygons but when I have a concave polygon it fails. Does anyone know of a library that will draw a solid colored concave polygon given the vertices? I have tried PRKit but I don’t need texture support and I could not find a version of PRKit that only draws solid polygons.

Thank you all for your help.

try splitting your concave polygon into convex pieces. library that draws concave polygons also splits into triangles parts.