Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17111

Layer vs Sprite

$
0
0

@shipit wrote:

I've been using a Layer because I have a scene with bunch of sprites (> 50). At the same time a Sprite can handle children too. I'm having to use utils::getCascadeBoundingBox() to calculate layer size in a gesture handler and it's adding stutter to the layer translation/scale operations. My question is that is it ok to use a sprite instead of layer?

I'm doing some tests now. I'll be updating the thread with my results.

thx!

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 17111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>