I found the cause of the performance problem.
The layer I added which degraded performance had some sprites in it (I
forgot to mention), which were not moving and sometimes not visible,
which is why I did not realize that they were relevant.
I added them to a batch instead of the layer directly, and the problem
was fixed.
Is there any reason why not every layer could use a batch by default for
sprites?
--
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/groups/opt_out.