I'm developing a game that includes a terrain that consists of a number of polygons. Each polygon may contain a large number of points, and can be complex in shape (including concave polygons). I would like to use a texture to draw this terrain.
Does anyone have a good working example (preferably in CocosSharp 1.5) of drawing such polygons?
I assume I need to use the CCGeometryNode (the artist formerly known as CCGeometryBatch), but find very little examples and documentation around this.
Can CCGeometryNode work directly with such shapes, or does it need to be converted into triangles first? (as discussed here)