-
Shubh2137Likes 0Problem Description
How to create Circle in cocos2dx and how to get its position ?
im creating circle using drawDot function of DrawNode class but not able to get its position.
code using C++ :
DrawNode *drawnode=DrawNode::create();
drawnode->drawDot(position,radius,Color4f);
Now i want to find location of drawn object. i.e. circle
-
Sonar Systems adminLikes 0
You could use a sprite which would be simpler.
-
Shubh2137Likes 1
i did this by setting position of node object to circle position. and its working…
Ty
-
Sonar Systems adminLikes 1
Great to hear :D
Login to reply