Hi,
I am trying to draw a circle around my player's sprite, but using ccDrawCircle doesn't draw anything on screen. To test this, I created a new 0.99.5 project and put the following code in the init method :
CGSize screenSize = [[CCDirector sharedDirector] winSize];
float radius = 20.0f;
float angle = 0;
int numSegments = 10;
bool drawLineToCenter = NO;
ccDrawCircle(ccp(screenSize.width/2,screenSize.height/2), radius, angle, numSegments, drawLineToCenter);
When I build and run the project, nothing appears in the simulator.
Can anyone help? I've got other example projects (not written by me) that use this function and they work fine.
Thanks!