How can you make filled-in circles in cocos2d? I understand you have to create a new method, but I don't really understand how it works/how to do it. Could someone please provide maybe an example or tell me how to go about achieving this? Also, I need to create about 24 filled-in circles, would this cause lags of some sort? Thanks!
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
I am not sure what do you mean by "I understand you have to create a new method, but I don't really understand how it works/how to do it." but I can tell you how to create a filled circle in cocos2d. All you need is an image of circle of any color that you want or a white one if you want to change the color of the circle in your game. With these circles as sprites in the game, the lags should not occur as I have a game that has 70-80 sprites in a game(A Cards game) and it never lagged even when i played pretty complicated animation in the game. |
|||||||||||||
|