I’m trying to draw a dotted/dashed line with ccDrawPoly between 2 or more points, but all I get is a difference in color of the line. Does anyone know if there is something wrong with the code below?
pointsArray.push_back( ccp(0,0) );
pointsArray.push_back( ccp(200,200) );
int numberOfPoints = 5;
ccDrawPoly(&pointsArray.at(0),pointsArray.size() , false);@