开发者

Is it better to use Labels instead of Sprites for pop up text

开发者 https://www.devze.com 2023-03-28 10:45 出处:网络
I would like to pop up text when the user blasts some balls in my game. At the worst came I may need 70 pop ups at the same time. The pop up is basically the score earned for each ball popped. Right n

I would like to pop up text when the user blasts some balls in my game. At the worst came I may need 70 pop ups at the same time. The pop up is basically the score earned for each ball popped. Right now I am using CCLabel for that. Would it be easier on the processing if I used sprites instead?

I have a lot going on in the gam开发者_JS百科e and want to ease the load on the processor.

Advice is much appreciated.

Thanks


If you're using CCLabelBMFont, you shouldn't see much difference between that and using a Sprite. Using CCLabel would probably be a mistake and may present a noticeable difference between CCLabelBMFont and CCSprite.

0

精彩评论

暂无评论...
验证码 换一张
取 消