I've seen some similar threads to this, but they weren't very conclusive so I'm going to make a new one. I'm sorry if this has already been answered very clearly somewhere else, in that case I'm interested to see that as well.
In a test I added a lot of cocos.text.Label to a layer, and was happy to see the performance was very good even with a large number of them. However, when I was going to implement the same in my game I quickly encountered a frame rate drop by adding some labels, despite using what seems like basically the same code. The cocos source is doing something in TextElement with a pyglet batch for every label, so my first naive attempt was to subclass it and give all the labels a common batch to see if that made any difference, which it didn't, and frankly I don't why / why not it would.. because I'm a noob xD So I'm hoping to get some clues into what I might be doing wrong, and how to fix it. I'll show my code if necessary, but I'm not doing anything strange, just adding some labels. -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cocos-discuss. For more options, visit https://groups.google.com/d/optout.
