I'm playing around with CocosSharp (I'm a totally newbie at CocosSharp) for my own amusement. The game I've made consists of a whole bunch of circles. I currently use one CCNode for each circle that has a CCDrawNode that draws the actual circle.
I threw in a simple QuadTree-implementation to handle collision checking.
My problem is that when I add about 300 of these fine circles I get an "Destination array is not long enough to copy all the items in the collection. Check array index and length."
So, what would the solution be? Is it?
A ) There is somewhere where I need to up the limit?
B ) Batch circle drawing into a single node and redraw the whole node each time and keep a list of "virtual entities" on the side
C ) Use sprites with the drawback of pixel perfect scaling (they are all different sizes and colors) (perhaps create a mipmapping thingy)
D ) Something totally different
Performance is not an issue, I simply can't add more objects.